feat(erc20): add more tests & mock evm logging #17
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
lib/wavm-shims/src/lib.rs|111 col 1| warning: unsafe function's docs miss # Safety
section
--> lib/wavm-shims/src/lib.rs:111:1
|
111 | pub unsafe extern "C" fn emit_log(_: *const u8, _: usize, _: usize) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Filtered Findings (4)
lib/wavm-shims/src/lib.rs|23 col 1| warning: unsafe function's docs miss # Safety
section
--> lib/wavm-shims/src/lib.rs:23:1
|
23 | / pub unsafe extern "C" fn native_keccak256(
24 | | bytes: *const u8,
25 | | len: usize,
26 | | output: *mut u8,
27 | | ) {
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: #[warn(clippy::missing_safety_doc)]
on by default
lib/wavm-shims/src/lib.rs|45 col 1| warning: unsafe function's docs miss # Safety
section
--> lib/wavm-shims/src/lib.rs:45:1
|
45 | pub unsafe extern "C" fn storage_load_bytes32(key: *const u8, out: *mut u8) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
lib/wavm-shims/src/lib.rs|70 col 1| warning: unsafe function's docs miss # Safety
section
--> lib/wavm-shims/src/lib.rs:70:1
|
70 | / pub unsafe extern "C" fn storage_store_bytes32(
71 | | key: *const u8,
72 | | value: *const u8,
73 | | ) {
| |^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
lib/wavm-shims/src/lib.rs|94 col 1| warning: unsafe function's docs miss # Safety
section
--> lib/wavm-shims/src/lib.rs:94:1
|
94 | pub unsafe extern "C" fn msg_sender(sender: *mut u8) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Annotations
Check warning on line 111 in lib/wavm-shims/src/lib.rs
github-actions / clippy
[clippy] lib/wavm-shims/src/lib.rs#L111
warning: unsafe function's docs miss `# Safety` section
--> lib/wavm-shims/src/lib.rs:111:1
|
111 | pub unsafe extern "C" fn emit_log(_: *const u8, _: usize, _: usize) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
Raw output
lib/wavm-shims/src/lib.rs:111:1:w:warning: unsafe function's docs miss `# Safety` section
--> lib/wavm-shims/src/lib.rs:111:1
|
111 | pub unsafe extern "C" fn emit_log(_: *const u8, _: usize, _: usize) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
__END__