From 4f8ec88c13432bf6164082badd202d47adf92ebe Mon Sep 17 00:00:00 2001 From: Idris Kalp Date: Wed, 24 Feb 2021 02:50:48 +0300 Subject: [PATCH] rust 1.50.0 --- programming/language/rust/actions.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/programming/language/rust/actions.py b/programming/language/rust/actions.py index 096b1e6879..d225fc99ea 100755 --- a/programming/language/rust/actions.py +++ b/programming/language/rust/actions.py @@ -22,19 +22,19 @@ WorkDir = "rustc-%s-src" %get.srcVERSION() #At phase 2, rust will be built again with this newly built rust. #Before phase 2, the lines below will be commented out. -#RustBinDir = "rust-%s-x86_64-unknown-linux-gnu" %get.srcVERSION() -#RustcDir = "%s/rustbin" %get.workDIR() +RustBinDir = "rust-%s-x86_64-unknown-linux-gnu" %get.srcVERSION() +RustcDir = "%s/rustbin" %get.workDIR() ################################################################# def build(): #İkinci aşamada bu satırlar da yoruma çevrilecek. #At phase 2, these lines also will be commented out. - #shelltools.cd(RustBinDir) - #shelltools.system("./install.sh --prefix=%s" %RustcDir) - #shelltools.cd("..") - #pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo") - #pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc") + shelltools.cd(RustBinDir) + shelltools.system("./install.sh --prefix=%s --without=rust-docs" %RustcDir) + shelltools.cd("..") + pisitools.dosed("config.toml", "/usr/bin/cargo", RustcDir+"/bin/cargo") + pisitools.dosed("config.toml", "/usr/bin/rustc", RustcDir+"/bin/rustc") #################################################### shelltools.export("LC_ALL", "en_US.UTF-8")