diff --git a/programming/language/rust/actions.py b/programming/language/rust/actions.py
index a4230116ea..98ac446180 100755
--- a/programming/language/rust/actions.py
+++ b/programming/language/rust/actions.py
@@ -10,10 +10,14 @@ from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
+WorkDir = "rustc-%s-src" %get.srcVERSION()
+crt_ver = "11.0.0"
def build():
shelltools.export("LC_ALL", "en_US.UTF-8")
- shelltools.system("python ./x.py build")
+ shelltools.export("RUST_BACKTRACE", "1")
+ shelltools.export("RUST_COMPILER_RT_ROOT", "%s/%s/compiler-rt-%s.src" % (get.workDIR(), WorkDir, crt_ver))
+ shelltools.system("python ./x.py dist")
def install():
diff --git a/programming/language/rust/files/bootstrap-config.toml b/programming/language/rust/files/bootstrap-config.toml
index 21cfa4b6aa..4bc33bed23 100644
--- a/programming/language/rust/files/bootstrap-config.toml
+++ b/programming/language/rust/files/bootstrap-config.toml
@@ -4,9 +4,14 @@ changelog-seen = 2
link-shared = true
[build]
-python = "python2.7"
+target = ["x86_64-unknown-linux-gnu"]
+cargo = "/usr/bin/cargo"
+rustc = "/usr/bin/rustc"
+python = "/usr/bin/python3"
extended = true
sanitizers = false
+profiler = true
+vendor = true
[install]
prefix = "/usr"
diff --git a/programming/language/rust/pspec.xml b/programming/language/rust/pspec.xml
index 0b9a5b4690..e0c95e4587 100755
--- a/programming/language/rust/pspec.xml
+++ b/programming/language/rust/pspec.xml
@@ -13,6 +13,7 @@
Systems programming language focused on safety, speed and concurrency
Systems programming language focused on safety, speed and concurrency
https://static.rust-lang.org/dist/rustc-1.48.0-src.tar.gz
+ https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/compiler-rt-11.0.0.src.tar.xz
bootstrap-config.toml
@@ -30,8 +31,9 @@
libssh2-devel
gdb-devel
curl-devel
- python-devel
+ python3-devel
libffi-devel
+ rust