stable

Clone or download

Read-only

Allow to pass multiple mount points (or none) to the executed WASM module

No functional change is expected but this should bring flexibility for upcoming contributions. To test you need to build and redeploy the Wasmtime wrapper. The easiest way to achieve that is to re-build and redeploy the RPM in your dev env (`nix-build src/additional-packages/tuleap-wasmtime-wrapper-lib.nix`). Part of story #35093 execute custom code as artifact post action Change-Id: I7a456bbb52a5dbebcc218eba2953f55710b73443

Modified Files

Name
M plugins/git/include/Hook/PreReceive/PreReceiveAction.php +5 −2 Go to diff View file
M plugins/git/include/Hook/PreReceive/PreReceiveCommand.php +6 −1 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/src/lib.rs +8 −13 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/src/test.rs +24 −45 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/src/wire.rs +1 −1 Go to diff View file
R src/additional-packages/wasmtime-wrapper-lib/test-wasm-modules/TryToReadWriteHere/ReadTest.txt Go to diff View file
A src/additional-packages/wasmtime-wrapper-lib/test-wasm-modules/TryToReadHere1/ReadTest.txt +1 −0 Go to diff View file
M src/additional-packages/wasmtime-wrapper-lib/test-wasm-modules/src/read-from-preopened-dir/main.rs +4 −8 Go to diff View file
M src/common/WebAssembly/EmptyWASMCaller.php +1 −1 Go to diff View file
M src/common/WebAssembly/FFIWASMCaller.php +3 −6 Go to diff View file
M src/common/WebAssembly/WASMCaller.php +2 −1 Go to diff View file
A src/common/WebAssembly/WASMModuleMountPoint.php +39 −0 Go to diff View file
M tests/unit/common/WebAssembly/WASMCallerStub.php +1 −1 Go to diff View file