Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--flake.nix2
-rw-r--r--rust-toolchain.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index ac7fd943..bed09202 100644
--- a/flake.nix
+++ b/flake.nix
@@ -57,7 +57,7 @@
env = prev.env ++ [
{ name = "HELIX_RUNTIME"; eval = "$PWD/runtime"; }
{ name = "RUST_BACKTRACE"; value = "1"; }
- { name = "RUSTFLAGS"; value = "-C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment"; }
+ # { name = "RUSTFLAGS"; value = "-C link-arg=-fuse-ld=lld -C target-cpu=native -Clink-arg=-Wl,--no-rosegment"; }
{ name = "LD_LIBRARY_PATH"; value = nixpkgs.lib.makeLibraryPath (with common.pkgs; [ wayland libxkbcommon libGL ]); }
];
};
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
index 79f6f8f6..ad53a47a 100644
--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,4 @@
[toolchain]
channel = "stable"
components = ["rustfmt", "rust-src"]
+targets = [ "wasm32-unknown-unknown" ] \ No newline at end of file