We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db7fd31 + 361511b commit 4a99166Copy full SHA for 4a99166
2 files changed
Makefile
@@ -21,7 +21,7 @@ test: lint test-unit test-integration
21
22
.PHONY: lint
23
lint:
24
- cargo clippy --all --all-targets --features all-tests -- -D warnings
+ cargo clippy --all --all-targets --features "all-tests unsafe-aot-compilation" -- -D warnings
25
cargo fmt --all -- --check
26
27
.PHONY: lint-rust-examples
crates/trigger/src/loader.rs
@@ -53,7 +53,7 @@ impl ComponentLoader {
53
path: &std::path::Path,
54
) -> anyhow::Result<Component> {
55
assert!(self.aot_compilation_enabled);
56
- match engine.detect_precompiled_file(path)? {
+ match wasmtime::Engine::detect_precompiled_file(path)? {
57
Some(wasmtime::Precompiled::Component) => unsafe {
58
Component::deserialize_file(engine, path)
59
},
0 commit comments