WIP: try compiling helix-core for WASM

gui
Blaž Hrastnik 3 years ago
parent cb5b12725e
commit 649a17720a
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

@ -57,7 +57,7 @@
env = prev.env ++ [ env = prev.env ++ [
{ name = "HELIX_RUNTIME"; eval = "$PWD/runtime"; } { name = "HELIX_RUNTIME"; eval = "$PWD/runtime"; }
{ name = "RUST_BACKTRACE"; value = "1"; } { 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 ]); } { name = "LD_LIBRARY_PATH"; value = nixpkgs.lib.makeLibraryPath (with common.pkgs; [ wayland libxkbcommon libGL ]); }
]; ];
}; };

@ -1,3 +1,4 @@
[toolchain] [toolchain]
channel = "stable" channel = "stable"
components = ["rustfmt", "rust-src"] components = ["rustfmt", "rust-src"]
targets = [ "wasm32-unknown-unknown" ]
Loading…
Cancel
Save