diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-06-14 18:41:23 +0300 |
---|---|---|
committer | Ilan Joselevich <personal@ilanjoselevich.com> | 2024-06-24 19:27:13 +0300 |
commit | 957116419de7e473dbc29ec92aae3ef083e2d163 (patch) | |
tree | 23d038716cff892c0d91c4f395e002b99270de1f /lib/systems/examples.nix | |
parent | 216728b751c07bb6066a2b9e26d7fd700723c338 (diff) |
lib.systems.examples: add wasm32-unknown-none
This system was added to use the nixpkgs cross compilation logic when compiling to wasm32-unknown-unknown in rust.
Diffstat (limited to 'lib/systems/examples.nix')
-rw-r--r-- | lib/systems/examples.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index 79ec4461e4193..2dd9f1bc61c13 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -356,6 +356,12 @@ rec { useLLVM = true; }; + wasm32-unknown-none = { + config = "wasm32-unknown-none"; + rust.rustcTarget = "wasm32-unknown-unknown"; + useLLVM = true; + }; + # Ghcjs ghcjs = { # This triple is special to GHC/Cabal/GHCJS and not recognized by autotools |