zowoq
45ad335d5d
cargo: inherit passthru.tests from rustc
2022-08-29 08:12:23 +10:00
zowoq
9c26b06a5d
rustc: add passthru.tests
...
we expect these to be built as part of rust version bumps
2022-08-29 08:12:23 +10:00
Jörg Thalheim
f08b424f73
Merge pull request #186443 from yu-re-ka/feature/rustc-musl2
...
fix pkgsMusl.rustc
2022-08-13 16:39:56 +01:00
Yureka
acf9dd6238
cargo: add broken flag for musl
...
A build script crashes:
> cannot produce dylib for `rustc_driver v0.0.0 (/build/rustc-1.63.0-src/compiler/rustc_driver)` as the target `x86_64-unknown-linux-musl` does not support these crate types
2022-08-13 15:23:26 +02:00
Yureka
202524ddf7
rustc: remove broken flag for musl
...
It builds!
2022-08-13 15:23:06 +02:00
Yureka
0a9c3640d3
rustc: set crt-static flag
...
The crt-static option selects if the C runtime is linked dynamically or
statically into the resulting binaries.
There is a default value of this setting for each platform, but it is
not always what we want. For example, musl targets are assumed to always
have the C runtime linked statically, but we support both.
In practise, this fixes an error in the pkgsMusl.rustc build:
> cannot produce dylib for `rustc_driver v0.0.0 (/build/rustc-1.63.0-src/compiler/rustc_driver)` as the target `x86_64-unknown-linux-musl` does not support these crate types
2022-08-13 15:19:22 +02:00
Yureka
fb7811bf03
rustc: use autoPatchelfHook for bootstrap binaries
...
This is both simpler and works in more cases, e.g. for the bootstrap binaries
linked against musl libc.
2022-08-13 15:17:24 +02:00
Alyssa Ross
59dd915c11
rustc: 1.62.1 -> 1.63.0
2022-08-12 07:54:19 +00:00
zowoq
8bf97d639d
rustc: 1.62.0 -> 1.62.1 ( #182140 )
...
https://github.com/rust-lang/rust/releases/tag/1.62.1
2022-07-20 12:34:37 +10:00
github-actions[bot]
8517eca5ed
Merge staging-next into staging
2022-07-02 12:01:53 +00:00
Alyssa Ross
6f9359a504
rustc: mark broken for dynamic Musl target
2022-07-02 09:04:37 +00:00
Alyssa Ross
8004d0e497
rustc: 1.61.0 -> 1.62.0
2022-07-02 09:04:07 +00:00
Luka Blašković
55c8e27290
rust: 1.60.0 -> 1.61.0 ( #173631 )
2022-05-22 15:51:43 +02:00
Nick Cao
be29f4575e
rustc: expose correct llvmPackages for cross compile
2022-05-13 06:40:43 +08:00
zowoq
61970a41ec
Revert "rustfmt: actually fix the failing test"
...
This reverts commit 6eb00a41a0
.
fixed in 1.60.0
2022-04-17 18:20:37 +10:00
github-actions[bot]
f303d4de3b
Merge staging-next into staging
2022-04-09 12:02:07 +00:00
Alyssa Ross
6d49a35080
rust: 1.59.0 -> 1.60.0
...
rustc has upgraded from LLVM 13 to LLVM 14.
2022-04-08 11:51:14 +00:00
K900
af7c34be0b
rustfmt: drop separate nightly alias
...
If you really want it, override it.
2022-04-07 19:42:14 +03:00
K900
ddef8a68cb
rustfmt: allow building as nightly
...
This is used by bindgen, and may be useful for other projects
as well, as rustfmt disables many features when built as stable.
2022-04-06 13:03:23 +03:00
K900
6eb00a41a0
rustfmt: actually fix the failing test
...
It only runs on nightly, but the next commits will show
why this is useful.
2022-04-06 13:03:23 +03:00
K900
557f7572d8
rustfmt: stop pretending we're on nightly
...
We're not, and starting with 1.59 the test behavior actually differs
based on these env vars.
2022-04-06 01:13:54 +03:00
zowoq
d88f6aa9d8
rust: add mips64el-unknown-linux-gnuabi64 bootstrap hash
...
follow up from c6108020ff
2022-03-20 08:04:51 +10:00
github-actions[bot]
07e0324dff
Merge staging-next into staging
2022-03-18 06:01:55 +00:00
Adam Joseph
c6108020ff
rust: add mips64el to list of bootstrap tarballs
2022-03-18 13:00:34 +10:00
github-actions[bot]
8379968bb2
Merge staging-next into staging
2022-03-10 06:02:07 +00:00
zowoq
5625298330
Merge pull request #161533 from Stunkymonkey/rust-{lib-}src-phases
...
rust-{lib-}src: deprecate phases
2022-03-10 13:22:07 +10:00
github-actions[bot]
f6b4a4048a
Merge staging-next into staging
2022-03-09 12:01:59 +00:00
Felix Buehler
783d2679e5
treewide: rename name to pname&version
2022-03-08 13:24:25 +01:00
Felix Buehler
6381ee34b5
rust: rename name to pname
2022-03-01 12:09:56 +01:00
Felix Buehler
5545fb36d2
cargo: rename name to pname
2022-03-01 11:52:52 +01:00
Felix Buehler
916a86aa2f
rust-{lib-}src: deprecate phases
2022-02-25 22:57:59 +01:00
Alyssa Ross
dc93e10397
rust: 1.58.1 -> 1.59.0
...
Tested builds of fd, firefox, and thunderbird on x86_64-linux.
2022-02-25 01:22:29 +00:00
Guillaume Girol
bedabfbcef
rustPlatform.bindgenHook: init
2022-02-22 19:37:07 +01:00
github-actions[bot]
0b0b544416
Merge staging-next into staging
2022-01-30 00:02:26 +00:00
Jörg Thalheim
4c1d81c91e
Revert "clippy: fix build ( #152211 )"
...
This reverts commit aaff0d644f
.
Reason: proper fix is now in master, see https://github.com/NixOS/nixpkgs/pull/152197
2022-01-30 07:05:12 +10:00
Konrad Borowski
89f2ffcf56
rustc: 1.58.0 -> 1.58.1
2022-01-20 16:35:46 -08:00
Jonathan Ringer
560b3f416e
rustc: 1.57.0 -> 1.58.0
2022-01-14 12:34:11 -08:00
github-actions[bot]
25662d01ae
Merge staging-next into staging
2022-01-04 00:02:40 +00:00
Jörg Thalheim
aaff0d644f
clippy: fix build ( #152211 )
2022-01-01 06:31:57 +00:00
misuzu
2a699029f4
rustc: build with jemalloc
...
This change should fix intermittent crashes on macOS Monterey.
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2021-12-30 17:45:08 +02:00
Alyssa Ross
f56f3f7dcc
rustc: 1.56.1 -> 1.57.0
2021-12-02 16:58:40 -08:00
John Ericson
f721e0f849
Merge pull request #145107 from Ericson2314/buildRustCrate-sysroot
...
build-support/rust: Fix sysroot for cross
2021-11-24 18:44:13 -05:00
John Ericson
2c7f62379f
rustcSrc: Reduce duplication
2021-11-08 20:38:58 +00:00
John Ericson
4f81865aa1
Merge remote-tracking branch 'upstream/master' into staging-next
2021-11-07 20:51:04 +00:00
John Ericson
18ed048c7b
build-support/rust: Organize
...
- `toRustTarget` and friends pulled out from rust tools into rust
library. Since they don't depend on any packages they can be more
widely useable.
- `build-rust-package` gets its own directory
- `fetch-cargo-tarball` gets its own directory
2021-11-07 14:16:49 -05:00
Alyssa Ross
703ffa2f5d
Merge remote-tracking branch 'nixpkgs/staging-next' into staging
2021-11-03 07:34:33 +00:00
Martin Weinelt
c28e3f9d00
rustc: Expose llvmPackages set used to build rustc
...
Reusing the same llvmPackages version used for building rustc is
required for LTO in Firefox.
2021-11-02 17:34:05 +01:00
Martin Weinelt
3f9b49e0ec
rust_1_45: drop
2021-11-02 14:41:05 +01:00
Sandro
fb5f7b9841
Merge pull request #144204 from alyssais/rust-1.56.1
2021-11-02 10:53:03 +01:00
github-actions[bot]
3f03065e05
Merge staging-next into staging
2021-11-02 00:02:12 +00:00