Skip to content

Commit

Permalink
Merge #3069
Browse files Browse the repository at this point in the history
3069: Remove native feature entry from docs.rs metadata r=silwol a=silwol

The native feature is no longer present, but was still in the list of
features to be enabled when building the documentation for docs.rs,
causing the build there to fail. Removal should re-enable the build of
the documentation for docs.rs.

Closes: #3066

Co-authored-by: Wolfgang Silbermayr <[email protected]>
  • Loading branch information
bors[bot] and silwol authored Aug 4, 2022
2 parents 1ac2de5 + 7e906f6 commit b58128e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
15 changes: 14 additions & 1 deletion lib/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,17 @@ static-artifact-load = ["wasmer-compiler/static-artifact-load"]
static-artifact-create = ["wasmer-compiler/static-artifact-create"]

[package.metadata.docs.rs]
features = ["compiler", "core", "cranelift", "engine", "jit", "native", "singlepass", "sys", "sys-default" ]
features = [
"compiler",
"core",
"cranelift",
"engine",
"jit",
"singlepass",
"static-artifact-create",
"static-artifact-load",
"sys",
"sys-default",
"wasmer-artifact-create",
"wasmer-artifact-load",
]
8 changes: 8 additions & 0 deletions lib/compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,11 @@ enable-serde = ["serde", "serde_bytes", "wasmer-types/enable-serde"]

[badges]
maintenance = { status = "experimental" }

[package.metadata.docs.rs]
features = [
"static-artifact-create",
"static-artifact-load",
"wasmer-artifact-create",
"wasmer-artifact-load",
]

0 comments on commit b58128e

Please sign in to comment.