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

remove prev-tx-hash #4

Merged
merged 2 commits into from
Jun 24, 2024

update deprecated macos build

9513ab6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

remove prev-tx-hash #4

update deprecated macos build
9513ab6
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jun 24, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check warning on line 140 in vm-executor-wasmer/src/wasmer_instance.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

writing `&Vec` instead of `&[_]` involves a new object where a slice will do

warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
   --> vm-executor-wasmer/src/wasmer_instance.rs:140:32
    |
140 | fn validate_memories(memories: &Vec<(&String, &wasmer::Memory)>) -> Result<(), ExecutorError> {
    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `&[(&String, &wasmer::Memory)]`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
    = note: `#[warn(clippy::ptr_arg)]` on by default