Skip to content

Commit

Permalink
docs: change wasm32-unknown-unknown to be the default target for docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
zetanumbers committed Apr 6, 2024
1 parent 2bf32d1 commit 5baa652
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion wasm4-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ description = "Functionality used from proc_macro and regular libraries for WASM
keywords = ["wasm-4", "wasm4"]
edition = "2021"

[dependencies]
[package.metadata.docs.rs]
all-features = true
default-target = "wasm32-unknown-unknown"
targets = []
5 changes: 5 additions & 0 deletions wasm4-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ description = "Raw WASM-4 bindings for Rust, used internally wasm4-rs"
keywords = ["wasm-4", "wasm4"]
categories = ["external-ffi-bindings", "wasm"]
edition = "2021"

[package.metadata.docs.rs]
all-features = true
default-target = "wasm32-unknown-unknown"
targets = []
1 change: 0 additions & 1 deletion wasm4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ crate_type = ["cdylib"]
all-features = true
default-target = "wasm32-unknown-unknown"
targets = []
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit 5baa652

Please # to comment.