lyon 3 лет назад
Родитель
Сommit
4cfd10889f
2 измененных файлов с 5 добавлено и 3 удалено
  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"