File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ test: lint test-unit test-integration
21
21
22
22
.PHONY : lint
23
23
lint :
24
- cargo clippy --all --all-targets --features all-tests -- -D warnings
24
+ cargo clippy --all --all-targets --features " all-tests unsafe-aot-compilation " -- -D warnings
25
25
cargo fmt --all -- --check
26
26
27
27
.PHONY : lint-rust-examples
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ impl ComponentLoader {
53
53
path : & std:: path:: Path ,
54
54
) -> anyhow:: Result < Component > {
55
55
assert ! ( self . aot_compilation_enabled) ;
56
- match engine . detect_precompiled_file ( path) ? {
56
+ match wasmtime :: Engine :: detect_precompiled_file ( path) ? {
57
57
Some ( wasmtime:: Precompiled :: Component ) => unsafe {
58
58
Component :: deserialize_file ( engine, path)
59
59
} ,
You can’t perform that action at this time.
0 commit comments