-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix all warnings #5363
base: main
Are you sure you want to change the base?
chore: fix all warnings #5363
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,8 @@ cranelift = ["wasmer-compiler-cranelift", "compiler"] | |
debug = ["fern", "log"] | ||
disable-all-logging = [] | ||
jit = [] | ||
llvm = [] | ||
run = [] | ||
Comment on lines
+78
to
+79
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This create will be deprecated (removed from the repo) very soon, we shouldn't add new features to it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If the features are used in code, they should be declared in cargo.toml - otherwise its like using a variable without declaring it first - ok for some languages, but usually a bad form for Rust :) Should they be removed there, or should these be added here until then? |
||
|
||
[package.metadata.docs.rs] | ||
rustc-args = ["--cfg", "docsrs"] |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -29,3 +29,7 @@ tracing = "0.1.37" | |||||
|
||||||
[package.metadata.docs.rs] | ||||||
rustc-args = ["--cfg", "docsrs"] | ||||||
|
||||||
[features] | ||||||
default = [] | ||||||
tracing = [] | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is tracing a feature if it's not used anywhere? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is used in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature was deprecated long ago. We shouldn't add it back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You use it in
wasmer/lib/c-api/src/wasm_c_api/engine.rs
Line 258 in d431db9
dylib
is not declared. Should it be removed there?