stable

Clone or download

Read-only

Add Clippy to wasmtime-wrapper-lib packaging process

Add Clippy (https://github.com/rust-lang/rust-clippy) to wasmtime-wrapper-lib packaging process. Slightly refactor our lib based on Clippy's recommendations. We now advise anybody who contributes to the lib to run `cargo clippy` before submiting any changes. To test: - build the package with `nix-build ./src/additional-packages/tuleap-wasmtime-wrapper-lib.nix` - You should not see any warning/errors from clippy Part of story #31077: deploy a WebAssembly module to validate incoming references as a pre-receive hook Change-Id: I1c2b7cf55bb25ec7e5cfdeed2dfa98e73c528f48

Modified Files

Name
M src/additional-packages/tuleap-wasmtime-wrapper-lib.nix +2 −0 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/build.rs +2 −2 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/shell.nix +1 −1 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/src/lib.rs +32 −24 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/src/wire.rs +0 −1 Go to diff View file