Skip to content

Commit

Permalink
cross aarch64?
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Sep 12, 2023
1 parent 40db79a commit d858bd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@

# Combine the environment and other configuration needed for Crane to build our Rust packages
nativeConfig = environment // config // {
CARGO_BUILD_TARGET = "aarch64-apple-darwin";

nativeBuildInputs = [ ];

buildInputs = [ ] ++ extraBuildInputs;
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.66.1"
components = [ "rust-src" ]
targets = [ "wasm32-unknown-unknown" ]
targets = [ "wasm32-unknown-unknown", "aarch64-apple-darwin" ]
profile = "default"

0 comments on commit d858bd3

Please sign in to comment.