-
Notifications
You must be signed in to change notification settings - Fork 824
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
runtime-c-api: not installing cranelift if not necessary #708
Changes from 10 commits
9e51c39
a06fa40
8d583ad
e6387ec
ad0cf47
2370553
4a74023
0b84d9b
2c3e5f0
0d88882
4fcf61f
dd705d8
ad49e98
86a3a75
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 |
---|---|---|
|
@@ -15,16 +15,21 @@ crate-type = ["cdylib", "rlib", "staticlib"] | |
libc = "0.2.60" | ||
|
||
[dependencies.wasmer-runtime] | ||
default-features = false | ||
path = "../runtime" | ||
version = "0.6.0" | ||
|
||
[dependencies.wasmer-runtime-core] | ||
default-features = false | ||
path = "../runtime-core" | ||
version = "0.6.0" | ||
|
||
[features] | ||
default = ["cranelift-backend"] | ||
debug = ["wasmer-runtime/debug"] | ||
llvm = ["wasmer-runtime/llvm"] | ||
cranelift-backend = ["wasmer-runtime/cranelift", "wasmer-runtime/default-backend-cranelift"] | ||
llvm-backend = ["wasmer-runtime/llvm"] | ||
singlepass-backend = ["wasmer-runtime/default-backend-singlepass", "wasmer-runtime-core/backend-singlepass"] | ||
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. I think this is: - wasmer-runtime-core/backend-singlepass
+ wasmer-runtime/backend-singlepass Thoughts? 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. checking shortly 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. @Hywan I seems it should stay https://github.com/wasmerio/wasmer/blob/master/lib/runtime/Cargo.toml#L41 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. I'm talking about the second item of the list. You are using |
||
|
||
[build-dependencies] | ||
cbindgen = "0.9.0" |
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.
Why not adding
default-backend-llvm
to the list of features to enable withllvm-backend
?