[-]
[+]
|
Added |
_service:tar_git:rust.spec
|
|
[-]
[+]
|
Added |
_service:tar_git:add_ffi.patch
^
|
@@ -0,0 +1,16 @@
+diff -ur ref/src/librustc_llvm/build.rs patched/src/librustc_llvm/build.rs
+--- ref/src/librustc_llvm/build.rs 2018-12-05 00:41:40.000000000 +0100
++++ patched/src/librustc_llvm/build.rs 2018-12-30 22:54:16.972938493 +0100
+@@ -183,7 +183,10 @@
+ }
+ cmd.args(&components);
+
+- for lib in output(&mut cmd).split_whitespace() {
++ let mut libs = output(&mut cmd).split_whitespace().map(|str| str.to_string()).collect::<Vec<_>>();
++ libs.push(String::from("-lffi"));
++ for lib in libs {
++ let lib: &str = lib.as_ref();
+ let name = if lib.starts_with("-l") {
+ &lib[2..]
+ } else if lib.starts_with("-") {
+
|
[-]
[+]
|
Added |
_service:tar_git:llvm-targets.patch
^
|
@@ -0,0 +1,20 @@
+diff -ur rustc-1.33.0-src/config.toml.example rustc-1.33.0-src-new/config.toml.example
+--- rustc-1.33.0-src/config.toml.example 2019-02-28 09:53:34.000000000 +0100
++++ rustc-1.33.0-src-new/config.toml.example 2019-03-31 21:19:48.750629718 +0200
+@@ -61,14 +61,14 @@
+ # support. You'll need to write a target specification at least, and most
+ # likely, teach rustc about the C ABI of the target. Get in touch with the
+ # Rust team and file an issue if you need assistance in porting!
+-#targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon"
++#targets = "X86;ARM;AArch64"
+
+ # LLVM experimental targets to build support for. These targets are specified in
+ # the same format as above, but since these targets are experimental, they are
+ # not built by default and the experimental Rust compilation targets that depend
+ # on them will not work unless the user opts in to building them. By default the
+ # `WebAssembly` and `RISCV` targets are enabled when compiling LLVM from scratch.
+-#experimental-targets = "WebAssembly;RISCV"
++experimental-targets = ""
+
+ # Cap the number of parallel linker invocations when compiling LLVM.
+ # This can be useful when building LLVM with debug info, which significantly
|
[-]
[+]
|
Added |
_service
^
|
@@ -0,0 +1,10 @@
+<services>
+ <service name="tar_git">
+ <param name="url">https://git.merproject.org/mer-core-contrib/rust.git</param>
+ <param name="branch">dev</param>
+ <param name="revision">dc53508f63e99eb3b5317adfb39c69e13e705422</param>
+ <param name="token"/>
+ <param name="debian">N</param>
+ <param name="dumb">N</param>
+</service>
+</services>
|
|
Added |
_service:tar_git:rust-1.33.0-i686-unknown-linux-gnu.tar.gz
^
|
|
Added |
_service:tar_git:rust-1.33.0.tar.xz
^
|
|
Added |
_service:tar_git:rustc-1.33.0-src.tar.xz
^
|