mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 01:16:18 +04:00
WIP: try compiling helix-core for WASM
This commit is contained in:
parent
cb5b12725e
commit
649a17720a
@ -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…
Reference in New Issue
Block a user