build-support/rust: allow cross-compiling the sysroot
This commit is contained in:
parent
63c8961f8b
commit
9d1aafcdeb
1 changed files with 3 additions and 0 deletions
|
@ -29,4 +29,7 @@ in rustPlatform.buildRustPackage {
|
|||
host=${rust.toRustTarget stdenv.buildPlatform}
|
||||
cp -r $RUST_SYSROOT/lib/rustlib/$host $out
|
||||
'';
|
||||
|
||||
# allows support for cross-compilation
|
||||
meta.platforms = lib.platforms.all;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue