You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To pass a completely custom target, define stdenv.hostPlatform.rustc.config with its name, and stdenv.hostPlatform.rustc.platform with the value. The value will be serialized to JSON in a file called ${stdenv.hostPlatform.rustc.config}.json, and the path of that file will be used instead.
I'm ot familiar with nixpkgs's cross compiling, but this compiles
this is based on example "cross compiling with naersk", a different linker didn't seem to be needed when im on x86_64-unknown-linux so I removed the change
Hi, wondering if it's possible to specify a target that is custom, similar to what is mentioned in https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/rust.section.md#cross-compilation-cross-compilation:
In case that can help, the target I'm interested in is
x86_64-fortanix-unknown-sgx
fenix/data/nightly.json
Line 1693 in 1a1694c
The text was updated successfully, but these errors were encountered: