Skip to content

Commit

Permalink
build-support/rust: allow cross-compiling the sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Mar 12, 2023
1 parent 63c8961 commit 9d1aafc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 9d1aafc

Please sign in to comment.