Explorar o código

add rust_config

lyon %!s(int64=4) %!d(string=hai) anos
pai
achega
4cfd10889f
Modificáronse 2 ficheiros con 5 adicións e 3 borrados
  1. 0 3
      docker/Dockerfile
  2. 5 0
      docker/rust_config

+ 0 - 3
docker/Dockerfile

@@ -67,6 +67,3 @@ RUN cd /root/pikascript && git pull
 ADD rust_config /root/.cargo/config
 RUN rustup target add i686-pc-windows-gnu
 RUN cd /root/pikascript/tools/pikaCompiler && sh build.sh
-
-
-

+ 5 - 0
docker/rust_config

@@ -0,0 +1,5 @@
+[source.crates-io]
+registry = "https://github.com/rust-lang/crates.io-index"
+replace-with = 'ustc'
+[source.ustc]
+registry = "git://mirrors.ustc.edu.cn/crates.io-index"