John Ericson
47b99769f9
rustc: Improve musl support
...
There was a slight error in the target logic I didn't notice before, and
also should do the same thing for the other platforms.
2020-12-02 15:30:51 +00:00
John Ericson
5d75fe4ed0
Merge pull request #105314 from lopsided98/rustc-musl-target
...
rustc: allow building for musl targets
2020-11-29 00:39:36 -05:00
Ben Wolsieffer
2857455b03
rustc: allow building for musl targets
2020-11-28 22:15:35 -05:00
John Ericson
c0df12de5d
rust: Add support for managing target JSON in Nix
2020-10-14 04:20:23 +00:00
Konrad Borowski
41d681c85f
rustc: use LLVM 10
...
Fixes rust-lang/rust#74585
2020-07-31 08:52:22 +02:00
Aaron Janse
60fd049b65
redox: add as target
2020-07-21 13:11:36 -07:00
Aneesh Agrawal
ce9bec83da
rustc: remove test-only git dependency
...
The tests have been disabled for over a year,
and AFAIK `git` was added and is only used for the rustc tests.
2020-03-29 06:36:06 +01:00
John Ericson
83a4705f49
Merge pull request #80843 from obsidiansystems/rust-no-std
...
rust 1.41: Fix build with no_std only target
2020-02-23 00:48:45 -05:00
John Ericson
0b0e691833
rust 1.41: Fix build with no_std only target
...
See https://github.com/rust-lang/rust/pull/69381
2020-02-22 18:34:05 -05:00
Cole Helbling
502c0ee899
clippy: add rustc.llvm to buildInputs
...
The Hydra build [1] failed because it was unable to link to `LLVM9`; add
`llvmShared` to `passthru` in order to stay up to date with required
LLVM versions. Also quote the homepage URLs, since that's preferred.
[1] https://hydra.nixos.org/build/112989779/nixlog/1
2020-02-18 08:46:31 -08:00
Daiderd Jordan
8df4338f51
rustPackages: make rustc-dev optional
...
This was only introduced in 1.40.0 and doesn't work on older versions.
thread 'main' panicked at 'Error: no rules matched rustc-dev.', src/bootstrap/builder.rs:231:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failed to run: /build/rustc-1.38.0-src/build/bootstrap/debug/bootstrap dist rustc-dev
2020-01-18 10:57:13 +01:00
Symphorien Gibol
47681d7c5c
rust: include the rustc-dev component
...
This enables to compile rls and rustc
See also https://github.com/rust-lang/rust/pull/64823
2020-01-11 12:00:00 +00:00
Maximilian Bosch
823b96a52b
rustc: fix for structured attrs
2019-12-31 01:29:57 +01:00
Robin Gloster
981ae25113
treewide: NIX_*_COMPILE -> string
2019-12-31 00:07:21 +01:00
Jan Tojnar
628ff8db61
rustc: switch to python3
2019-12-15 13:52:53 +01:00
Ben Wolsieffer
83ac9c07e4
rust: add support for armv6l-linux and armv7l-linux
2019-11-23 19:19:31 -05:00
Luka Blaskovic
8bff104114
rustc: bump runtime LLVM to match upstream
...
```
rustc 1.38.0
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.38.0
LLVM version: 9.0
```
2019-11-12 14:50:49 +01:00
taku0
97f20c3011
rust: keep multiple version.
...
Firefox 70.0.1 and Thunderbird 68.2.2 require older version of rustc.
2019-11-08 21:12:01 +09:00
Eelco Dolstra
14ee26ccf5
rustc: 1.38.0 -> 1.39.0
2019-11-07 15:04:06 +01:00
Ricardo M. Correia
7ec975fa84
rustc, cargo: remove myself from maintainers
2019-10-08 19:52:47 +02:00
Jörg Thalheim
173d5a4e6e
rustc: remove test related patches/code
...
Tests have been disabled since over a year and now the
code starts to bit-rot. As it seems unlikely that they
will come back in near future, let's just remove it.
2019-09-30 10:00:33 +01:00
Eelco Dolstra
9c0968fd81
rustc: 1.37.0 -> 1.38.0
2019-09-26 16:34:48 +02:00
Eelco Dolstra
adb15c3a63
Revert "rustc: Provide compiler-rt sources"
...
This reverts commit b7a8280312
. It's no
longer needed with Rust 1.38.
2019-09-26 14:50:07 +02:00
Eelco Dolstra
b7a8280312
rustc: Provide compiler-rt sources
...
This is needed to build libprofiler_builtins now.
e59f0cc0d3 (diff-daf9539767b10f18e1517f65cdc2e0e2)
https://github.com/rust-lang-nursery/compiler-builtins/issues/295
2019-08-16 15:08:12 +02:00
Eelco Dolstra
a4fc84de44
rustc: 1.36.0 -> 1.37.0
2019-08-16 14:10:13 +02:00
Eelco Dolstra
7706f36d0d
rustc: Enable profiling support
...
This matches the upstream binary releases (see
https://github.com/rust-lang/rust/blob/beta/src/ci/docker/x86_64-gnu/Dockerfile ).
Upstream also enables sanitizer support but that adds another 39 MiB
to the package size, and who needs sanitizers in Rust anyway ;-)
2019-07-31 22:47:28 +02:00
Eelco Dolstra
57adfbd3d4
rustc: Drop RUSTC_BOOTSTRAP
...
It's no longer needed.
2019-07-31 22:47:28 +02:00
Eelco Dolstra
33723434a8
rustc: Add setup hook to set $CARGO_HOME
...
This works around 'failed to open:
/homeless-shelter/.cargo/.package-cache' with Rust 1.36 even when
we're using 'cargo --frozen'.
2019-07-07 15:18:09 +02:00
Eelco Dolstra
2c0a6e1ea0
rustc: 1.35.0 -> 1.36.0
2019-07-07 15:18:09 +02:00
Eelco Dolstra
513bd49b44
rustc: 1.34.2 -> 1.35.0
2019-07-03 08:52:27 +02:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
915c2de370
rustc: 1.34.0 -> 1.34.2, security
...
https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
2019-05-19 03:56:31 -05:00
Ivan Kozik
a0c1b7be7d
rustc: 1.33.0 -> 1.34.0
2019-04-12 16:32:19 +00:00
John Ericson
716503d063
Merge branch 'staging' into rust-cross
2019-04-01 00:47:46 -04:00
Michael Eden
8391528096
rust: disable stripping to prevent bad cross rlibs
2019-03-29 11:11:55 -04:00
Jörg Thalheim
912dca193a
rust: fix cross-compilation
2019-03-29 11:11:00 -04:00
Michael Eden
7f6de09751
rust: Fix grammar in comment
2019-03-29 10:28:20 -04:00
Jörg Thalheim
6f6900495d
Merge pull request #54323 from lblasc/rust132
...
rust: 1.31.0 -> 1.32.0
2019-01-28 16:14:57 +00:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
...
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Ingolf Wagner
c5f0dbb660
rustc: mark compileprocess as timeconsuming
2019-01-24 18:30:35 +01:00
Luka Blaskovic
cc5b55f944
rust: 1.31.0 -> 1.32.0
2019-01-22 08:05:17 +00:00
Symphorien Gibol
973eca740b
rustc: fix build with unbundled jemalloc and llvm on darwin
...
jemalloc with stripped prefix would cause segfaults in free:
https://github.com/NixOS/nixpkgs/pull/49557#issuecomment-436734677
Thanks to @danieldk for darwin testing/debugging.
2018-11-08 13:10:24 +01:00
Symphorien Gibol
4b0d441cc4
rustc: build with system llvm and jemalloc
...
Just like fedora does: https://src.fedoraproject.org/rpms/rust/blob/master/f/rust.spec
Also some cleanup of tests which were removed but no longer exist.
2018-11-08 13:04:37 +01:00
Daiderd Jordan
0d64e81ce6
rustc: fix moved tests and darwin build
2018-10-26 12:14:24 +01:00
Symphorien Gibol
ffafe959ee
rustc: 1.27 -> 1.29
2018-09-14 14:22:56 +02:00
John Ericson
0828e2d8c3
treewide: Remove usage of remaining redundant platform compatability stuff
...
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Tuomas Tynkkynen
7e0561370b
rust: Set dontUpdateAutotoolsGnuConfigScripts everywhere
...
It's needed on ARM nowadays as well, so just put it everywhere.
2018-08-14 10:40:47 +03:00
volth
dda95bae35
[bot] treewide: remove unused 'args@' in lambdas
2018-07-20 19:54:05 +00:00
Eelco Dolstra
323fe3a305
rustc: Disable tests for now
2018-07-09 12:35:01 +02:00
Daiderd Jordan
ff37f08aa8
rustc: re-enable tests on darwin
...
- disable doctest for stdsimd
- disable previous and some extra extra tcp tests
2018-06-05 07:43:36 +02:00