rustc: 1.4.0 -> 1.5.0

Changed files
+16 -33
pkgs
development
+3 -4
pkgs/development/compilers/rustc/default.nix
···
{ stdenv, callPackage }:
callPackage ./generic.nix {
-
shortVersion = "1.4.0";
isRelease = true;
-
forceBundledLLVM = false;
configureFlags = [ "--release-channel=stable" ];
-
srcSha = "13wpi9nb3h6wwck2mxhza85fahzcwgas00w8m25086v34dha4dp1";
/* Rust is bootstrapped from an earlier built version. We need
to fetch these earlier versions, which vary per platform.
···
snapshotDate = "2015-08-11";
snapshotRev = "1af31d4";
-
# cc-ar-opts.patch should be removable in 1.4.0+
patches = [ ./patches/remove-uneeded-git.patch ]
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
}
···
{ stdenv, callPackage }:
callPackage ./generic.nix {
+
shortVersion = "1.5.0";
isRelease = true;
+
forceBundledLLVM = true;
configureFlags = [ "--release-channel=stable" ];
+
srcSha = "1vfpwx6a2f2rn528774cz9r7r82ppycn8z8ybll6bphdw7cyar1g";
/* Rust is bootstrapped from an earlier built version. We need
to fetch these earlier versions, which vary per platform.
···
snapshotDate = "2015-08-11";
snapshotRev = "1af31d4";
patches = [ ./patches/remove-uneeded-git.patch ]
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
}
+1 -1
pkgs/development/compilers/rustc/head.nix
···
snapshotRev = "1af31d4";
patches = [ ./patches/remove-uneeded-git.patch ]
-
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec-head.patch;
}
···
snapshotRev = "1af31d4";
patches = [ ./patches/remove-uneeded-git.patch ]
+
++ stdenv.lib.optional stdenv.needsPax ./patches/grsec.patch;
}
-24
pkgs/development/compilers/rustc/patches/grsec-head.patch
···
-
diff --git a/src/test/run-make/relocation-model/Makefile b/src/test/run-make/relocation-model/Makefile
-
index b22f34f..c6489bd 100644
-
--- a/src/test/run-make/relocation-model/Makefile
-
+++ b/src/test/run-make/relocation-model/Makefile
-
@@ -2,9 +2,11 @@
-
-
all: others
-
$(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
-
+ paxctl -czexm $(TMPDIR)/foo
-
$(call RUN,foo)
-
-
$(RUSTC) -C relocation-model=default foo.rs
-
+ paxctl -czexm $(TMPDIR)/foo
-
$(call RUN,foo)
-
-
$(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs
-
@@ -16,6 +18,7 @@ others:
-
else
-
others:
-
$(RUSTC) -C relocation-model=static foo.rs
-
+ paxctl -czexm $(TMPDIR)/foo
-
$(call RUN,foo)
-
$(RUSTC) -C relocation-model=static --crate-type=dylib foo.rs
-
endif
···
+12 -4
pkgs/development/compilers/rustc/patches/grsec.patch
···
diff --git a/src/test/run-make/relocation-model/Makefile b/src/test/run-make/relocation-model/Makefile
-
index 2fcdd32..2d9ddb0 100644
--- a/src/test/run-make/relocation-model/Makefile
+++ b/src/test/run-make/relocation-model/Makefile
-
@@ -5,9 +5,11 @@ all:
$(call RUN,foo)
$(RUSTC) -C relocation-model=default foo.rs
+ paxctl -czexm $(TMPDIR)/foo
$(call RUN,foo)
$(RUSTC) -C relocation-model=static foo.rs
+ paxctl -czexm $(TMPDIR)/foo
$(call RUN,foo)
-
-
$(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs
···
diff --git a/src/test/run-make/relocation-model/Makefile b/src/test/run-make/relocation-model/Makefile
+
index b22f34f..c6489bd 100644
--- a/src/test/run-make/relocation-model/Makefile
+++ b/src/test/run-make/relocation-model/Makefile
+
@@ -2,9 +2,11 @@
+
+
all: others
+
$(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
+
+ paxctl -czexm $(TMPDIR)/foo
$(call RUN,foo)
$(RUSTC) -C relocation-model=default foo.rs
+ paxctl -czexm $(TMPDIR)/foo
$(call RUN,foo)
+
$(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs
+
@@ -16,6 +18,7 @@ others:
+
else
+
others:
$(RUSTC) -C relocation-model=static foo.rs
+ paxctl -czexm $(TMPDIR)/foo
$(call RUN,foo)
+
$(RUSTC) -C relocation-model=static --crate-type=dylib foo.rs
+
endif