Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,12 +457,14 @@ jobs:
for feature in progress parallel io-pipe crc32 zlib cache-efficiency-debug; do
cargo build -p gix-features --features "$feature" --target "$TARGET"
done
- name: Enable wasm_js backend
if: matrix.target == 'wasm32-unknown-unknown'
run: echo RUSTFLAGS='--cfg getrandom_backend="wasm_js"' >> "$GITHUB_ENV"
- name: crates with 'wasm' feature
run: |
set -x
for crate in gix-pack; do
cargo build -p "$crate" --features wasm --target "$TARGET"
done
cargo build -p gix-diff --no-default-features --features wasm --target "$TARGET"
cargo build -p gix-pack --features wasm --target "$TARGET"
- name: gix-pack with all features (including wasm)
run: cargo build -p gix-pack --all-features --target "$TARGET"

Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion gix-diff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gix-traverse = { version = "^0.47.0", path = "../gix-traverse", optional = true
thiserror = "2.0.0"
imara-diff = { version = "0.1.8", optional = true }
serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"] }
getrandom = { version = "0.2.8", optional = true, default-features = false, features = ["js"] }
getrandom = { version = "0.3.3", optional = true, default-features = false, features = ["wasm_js"] }
bstr = { version = "1.12.0", default-features = false }

document-features = { version = "0.2.0", optional = true }
Expand Down
Loading