diff options
author | Pavel Vinogradov | 2019-09-26 16:49:58 -0400 |
---|---|---|
committer | Pavel Vinogradov | 2019-09-26 16:49:58 -0400 |
commit | 43735557e56f62f621fbfa270fa807e1aea17de3 (patch) | |
tree | 75f7c91088326f975788bd6541e4686200426818 /devel | |
parent | 1773adb1007037cccaa600da4cfbfa880830e677 (diff) |
devel/rust: added a quick fix for bootstrapping
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rust/HISTORY | 1 | ||||
-rw-r--r-- | devel/rust/patches/builder.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/devel/rust/HISTORY b/devel/rust/HISTORY index f66507e870..463489626c 100644 --- a/devel/rust/HISTORY +++ b/devel/rust/HISTORY @@ -1,5 +1,6 @@ 2019-09-26 Pavel Vinogradov <public@sourcemage.org> * DETAILS: version 1.38.0, CARGO_VERSION=0.39.0 + * patches/builder.patch: added a quick fix for bootstrapping 2019-09-04 Pavel Vinogradov <public@sourcemage.org> * patches/0001-libressl-2.9.x.patch: updated for libressl >= 2.9.x diff --git a/devel/rust/patches/builder.patch b/devel/rust/patches/builder.patch new file mode 100644 index 0000000000..bc4a3d9fac --- /dev/null +++ b/devel/rust/patches/builder.patch @@ -0,0 +1,12 @@ +diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs +--- a/src/bootstrap/builder.rs ++++ b/src/bootstrap/builder.rs +@@ -145,7 +145,7 @@ + only_hosts: S::ONLY_HOSTS, + should_run: S::should_run, + make_run: S::make_run, +- name: unsafe { ::std::intrinsics::type_name::<S>() }, ++ name: { ::std::intrinsics::type_name::<S>() }, + } + } + |