diff --git a/programming/language/rust/actions.py b/programming/language/rust/actions.py index 63e8c08ee7..5999582706 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" %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") diff --git a/programming/language/rust/pspec.xml b/programming/language/rust/pspec.xml index d7584fa179..6b3498b43c 100755 --- a/programming/language/rust/pspec.xml +++ b/programming/language/rust/pspec.xml @@ -15,7 +15,7 @@ https://static.rust-lang.org/dist/rustc-1.88.0-src.tar.gz - + https://static.rust-lang.org/dist/rust-1.88.0-x86_64-unknown-linux-gnu.tar.gz bootstrap-config.toml