Closed regular-citizen closed 1 year ago
Personally, I don't think there is enough justification for this change. You can always run cargo check
with specified target. In fact, you have to select corresponding feature anyway. On the other hand, these cfgs help the end users to properly select feature and prevent wrong backend selected.
Anyhow, thanks for the PR.
This PR removes the conditional compilation flags in Cargo.toml that mention the target platform.
The reason why this was needed is that it is that, though wasm-bindgen and js-sys issue code that panics when compiled to x64, we want to be able to run
cargo check
without having to specify the target triple (and both those crates check fine even on x64).Note that this since these are breaking changes, it would require at least a minor version bump.