Skip to content

Commit

Permalink
Support WASM (#297)
Browse files Browse the repository at this point in the history
Except for FastLanez
  • Loading branch information
gatesn authored May 3, 2024
1 parent 1a84bac commit bfe8a3c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ flatbuffers = "23.5.26"
flatc = "0.2.2"
flexbuffers = "2.0.0"
fs_extra = "1.3.0"
getrandom = "0.2.14"
half = { version = "^2", features = ["std", "num-traits"] }
hashbrown = "0.14.3"
humansize = "2.1.3"
Expand Down
2 changes: 1 addition & 1 deletion deps/fastlanez
4 changes: 4 additions & 0 deletions vortex-array/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ vortex-flatbuffers = { path = "../vortex-flatbuffers" }
vortex-scalar = { path = "../vortex-scalar", features = ["serde"] }
serde = { workspace = true, features = ["derive"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
# Enable the JS feature of getrandom (via rand) to supprt wasm32 target
getrandom = { workspace = true, features = ["js"] }

[build-dependencies]
flatc = { workspace = true }
walkdir = { workspace = true }
Expand Down

0 comments on commit bfe8a3c

Please sign in to comment.