build-rust-crate: handle ILP32 platforms correctly#212303
build-rust-crate: handle ILP32 platforms correctly#212303superherointj merged 1 commit intomasterfrom unknown repository
Conversation
This commit corrects the value of `CARGO_CFG_TARGET_POINTER_WIDTH` for ILP32 machines like the Apple Watch and mips64n32.
|
I have no experience here, but maybe this change should be in https://github.com/NixOS/nixpkgs/blob/master/lib/systems/parse.nix 🤔 |
In the long run I would like to eliminate But that is a mammoth undertaking. And it is going to cost me a lot of karma. |
|
Liked your idea, any place where we can suggest that? |
|
I think we could discuss that with architecture team before any PR, not sure if is a case for RFC. |
Description of changes
This commit corrects the value of
CARGO_CFG_TARGET_POINTER_WIDTHfor ILP32 machines like the Apple Watch and mips64n32.Things done