mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
.. | ||
.cargo | ||
src | ||
_build.ts | ||
.rustfmt.toml | ||
Cargo.lock | ||
Cargo.toml | ||
crypto.js | ||
crypto.wasm.js | ||
mod.ts | ||
README.md | ||
rust-toolchain.toml | ||
test.ts |
std/_crypto_wasm
is only for internal use, such as by std/crypto
and
std/node/crypto
. Its interface may not be stable between releases and it
should not be imported directly.
How to Build
Prerequisite
Requires the wasm-bindgen CLI.
# This must match the version of wasm-bindgen in Cargo.lock:
cargo install -f wasm-bindgen-cli --version 0.2.78
Build
deno run --allow-all ./_build.ts
This will regenerate ./crypto.js
and ./crypto.wasm.js
from the Rust source.
CI
If CI fails in Verify WASM hasn't changed
step, you need to download built
artifacts from that CI run and commit them back to the PR. Visit
https://github.com/denoland/deno_std/actions/runs/<CI_RUN_ID>#artifacts
and
click on Artifacts
at the top of the page.