Unnamed repository; edit this file 'description' to name the repository.
WIP: try compiling helix-core for WASM
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | rust-toolchain.toml | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |