about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-13T15·21+0300
committertazjin <tazjin@tvl.su>2022-10-13T16·29+0000
commit0f24120a6c13be753e037c8b7f475e476c9de5c6 (patch)
tree5ad5d43fd74b6bf53e3e7e6bbbeb78155a088939 /nix
parent78d3d9150b1eb76e0820a254c97976e10a8614d6 (diff)
fix(tvix/eval): fix Compiler::new on wasm r/5121
This path normalisation business causes runtime panics on WebAssembly
because those operations are unsupported.

Maybe this shouldn't be happening in the compiler anyways, not sure,
but for now this commit adds a workaround based on the target to
disable the normalisation if we're compiling for wasm.

Change-Id: I908a84fbdffc3401f8d443e2c73ec673e9f397ff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7004
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions