about summary refs log tree commit diff
path: root/pkgs/development/compilers/mrustc
AgeCommit message (Collapse)AuthorFilesLines
2024-06-09treewide: Remove indefinite article from meta.descriptionAlexis Hildebrandt2-2/+2
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-03-19treewide: add meta.mainProgram to packages with a single binarystuebinm2-0/+2
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
2023-11-09lib.systems: elaborate Rust metadataAlyssa Ross1-4/+2
We need this stuff to be available in lib so make-derivation.nix can access it to construct the Meson cross file. This has a couple of other advantages: - It makes Rust less special. Now figuring out what Rust calls a platform is the same as figuring out what Linux or QEMU call it. - We can unify the schema used to define Rust targets, and the schema used to access those values later. Just like you can set "config" or "system" in a platform definition, and then access those same keys on the elaborated platform, you can now set "rustcTarget" in your crossSystem, and then access "stdenv.hostPlatform.rustcTarget" in your code. "rustcTarget", "rustcTargetSpec", "cargoShortTarget", and "cargoEnvVarTarget" have the "rustc" and "cargo" prefixes because these are not exposed to code by the compiler, and are not standardized. The arch/os/etc. variables are all named to match the forms in the Rust target spec JSON. The new rust.target-family only takes a list, since we don't need to worry about backwards compatibility when that name is used. The old APIs are all still functional with no warning for now, so that it's possible for external code to use a single API on both 23.05 and 23.11. We can introduce the warnings once 23.05 is EOL, and make them hard errors when 23.11 is EOL.
2023-10-18mrustc: 0.10 -> 0.10.1Emily Trau1-3/+3
2023-04-16mrustc-bootstrap: Document workaroundsVal Lorentz2-1/+4
2023-04-16mrustc-bootstrap: Recompile minicargoVal Lorentz1-1/+2
2023-04-16mrustc: Remove obsolete patchesVal Lorentz4-67/+0
2023-04-06mrustc: 0.9 -> 0.10Val Lorentz4-38/+43
And switch from Rust 1.29 to 1.54, as this is the top version supported by mrustc
2022-09-11mrustc-bootstrap: pin to openssl_1_1Anthony Roussel1-1/+2
2022-04-17mrustc: fixup buildVladimír Čunát1-0/+1
Probably after gcc update. Anyway, including standard headers should be safe even if not utilized (and they do seem here).
2021-05-08mrustc: fix llvm_config pathJonathan Ringer1-1/+1
2021-04-23mrustc: init at 0.9Valentin Lorentz7-0/+312
mrustc is mostly patched to use shared LLVM sources but still uses in-tree source for compiler-rt from LLVM 7. This needs to be patched to compile under glibc 2.31 or later. It's easy enough to reapply all our compiler-rt patches here.