-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Burn
select
patch, upgrade rand. (#108)
* Burn `select`patch, upgrade rand. * Fix burn ref * Fix random backend on wasm * Fix fix * Fix lib in CI * Runner * Force wasm_js * CI
- Loading branch information
1 parent
f525aac
commit e9dee51
Showing
8 changed files
with
115 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[target.wasm32-unknown-unknown] | ||
rustflags = ['--cfg', 'getrandom_backend="wasm_js"'] | ||
runner = 'wasm-bindgen-test-runner' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
if: runner.os == 'Linux' | ||
uses: awalsh128/[email protected] | ||
with: | ||
packages: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd | ||
packages: libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd | ||
version: 1.0 | ||
execute_install_scripts: true | ||
|
||
|
@@ -37,17 +37,14 @@ jobs: | |
- name: check --all-features | ||
run: cargo check --locked --all-features --all-targets | ||
|
||
- name: check default features | ||
run: cargo check --locked --all-targets | ||
|
||
- name: check --no-default-features | ||
run: cargo check --locked --no-default-features --lib --all-targets | ||
run: cargo check --locked --no-default-features --all-targets | ||
|
||
- name: Rustfmt | ||
run: cargo fmt --all -- --check | ||
|
||
- name: cargo doc --lib | ||
run: cargo doc --lib --no-deps --all-features | ||
- name: cargo doc | ||
run: cargo doc --no-deps --all-features | ||
|
||
- name: cargo doc --document-private-items | ||
run: cargo doc --document-private-items --no-deps --all-features | ||
|
@@ -73,7 +70,7 @@ jobs: | |
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Check wasm32 | ||
run: cargo check --lib --target wasm32-unknown-unknown | ||
run: RUSTFLAGS='--cfg getrandom_backend="wasm_js"' cargo check --target wasm32-unknown-unknown | ||
|
||
# --------------------------------------------------------------------------- | ||
|
||
|
Oops, something went wrong.