Skip to content
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

Fix feature flags for make-build-wasmer-headless #3483

Merged
merged 40 commits into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
1cb29bb
Fix feature flags for make-build-wasmer-headless
fschutt Jan 17, 2023
a674471
Disable compilers in wasi/Cargo.toml
fschutt Jan 17, 2023
9091054
Disable compiler feature for headless-minimal again.
fschutt Jan 17, 2023
71fdf26
Remove dependency on wasmer/compiler from webc-runner
fschutt Jan 17, 2023
8715e22
Allow unused variables
fschutt Jan 17, 2023
1ca0de8
Minimize dependencies of wasmer-headless build
fschutt Jan 17, 2023
0678e90
Fix headless-minimal properly
fschutt Jan 17, 2023
e2755b7
Fix make lint
fschutt Jan 17, 2023
912f21a
Fix make lint
fschutt Jan 17, 2023
8183474
Adjust feature flags
fschutt Jan 17, 2023
a483d04
Address review comments
fschutt Jan 18, 2023
a70a492
Fix feature flags and misleading error message
fschutt Jan 18, 2023
9c05248
Revert changes to Store::default and remove Store::headless again
fschutt Jan 18, 2023
7008023
Fix make lint
fschutt Jan 18, 2023
caeca9a
Revert error message text
fschutt Jan 18, 2023
8d3e7c0
Refactor WasiRunner / EmscriptenRunner to take a Store as an argument
fschutt Jan 18, 2023
3d73c53
Fix unit tests on Linux
fschutt Jan 18, 2023
de62fdd
Remove uses of Store::default in create-exe and wasmer run
fschutt Jan 18, 2023
790fcfc
Debug why get_store_for_target fails
fschutt Jan 18, 2023
2ce32db
Debug why get_store_for_target returns wrong UnwindInfo
fschutt Jan 18, 2023
be30f66
Print store information on CI
fschutt Jan 18, 2023
321c1f3
Try to imitate the previous Store creation with get_config((
fschutt Jan 18, 2023
d52ae79
Merge branch 'master' into fix-master-red-2
fschutt Jan 18, 2023
5c927b9
Fix create-exe to work
fschutt Jan 19, 2023
1042053
Revert "Fix make lint"
fschutt Jan 19, 2023
fd5962d
Revert "Fix make lint"
fschutt Jan 19, 2023
b7c868e
Fix more errors on Windows
fschutt Jan 19, 2023
c61a5d7
Store::default - create new store with BaseTunables
fschutt Jan 19, 2023
32fbfc3
Disable set_target(Some(target)) for Engine builder
fschutt Jan 19, 2023
6398b06
Enable set_target() again, but disable unwind info
fschutt Jan 19, 2023
f577164
Revert "Enable set_target() again, but disable unwind info"
fschutt Jan 19, 2023
e112604
Revert "Disable set_target(Some(target)) for Engine builder"
fschutt Jan 19, 2023
17943e5
Refactor Artifact::new into separate sub-functions
fschutt Jan 19, 2023
533b72f
Merge branch 'master' into fix-master-red-2
fschutt Jan 19, 2023
32b39e8
Remove unnecessary printlns
fschutt Jan 19, 2023
af67c86
Fix wrong documentation
fschutt Jan 19, 2023
b26b487
Move get_module_info into the Engine
fschutt Jan 19, 2023
54f0f0c
Undo Store::new_with_tunables debugging code
fschutt Jan 19, 2023
c1fec2f
Always import ModuleInfo
fschutt Jan 19, 2023
ff11cbd
Make CompilerOptions flags private again
fschutt Jan 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ llvm = [
debug = ["fern", "wasmer-wasi/logging"]
disable-all-logging = ["wasmer-wasi/disable-all-logging"]
headless = []
headless-minimal = ["headless", "disable-all-logging", "wasi"]
headless-minimal = ["headless", "disable-all-logging", "wasi", "compiler", "webc_runner", "static-artifact-create"]
fschutt marked this conversation as resolved.
Show resolved Hide resolved

# Optional
enable-serde = [
Expand Down
2 changes: 1 addition & 1 deletion lib/vfs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ anyhow = { version = "1.0.66", optional = true }
default = ["host-fs", "mem-fs", "webc-fs", "static-fs"]
host-fs = ["libc"]
mem-fs = ["slab"]
webc-fs = ["webc", "anyhow"]
webc-fs = ["webc", "mem-fs", "anyhow"]
static-fs = ["webc", "anyhow", "mem-fs"]
enable-serde = [
"serde",
Expand Down
2 changes: 1 addition & 1 deletion lib/wasi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ tracing-wasm = "0.2"
default = ["sys-default"]
wasix = []

webc_runner = ["webc", "serde_cbor", "anyhow", "serde", "wasmer/compiler", "wasmer/cranelift"]
webc_runner = ["webc", "serde_cbor", "anyhow", "serde", "wasmer/compiler", "wasmer/cranelift", "wasmer-vfs/webc-fs"]
fschutt marked this conversation as resolved.
Show resolved Hide resolved
webc_runner_rt_emscripten = ["wasmer-emscripten"]
webc_runner_rt_wasi = []

Expand Down