use-wasm-target
Rust/WebAssembly target primitives for RustUse. This crate models common Rust Wasm target labels with family, pointer width, and profile helpers.
Example
use WasmTarget;
let target: WasmTarget = "wasm32-wasip1".parse.expect;
assert_eq!;
assert_eq!;
Scope
- Common Rust Wasm targets.
- Target family, pointer width, and profile labels.
Non-goals
- No cargo invocation.
- No target installation checks.
License
Licensed under either of the following, at your option:
- Apache License, Version 2.0
- MIT license