Files
scylladb/test/resource/wasm/rust/test_short_ints.rs
Wojciech Mitros 6d89d718d9 wasm: replace wasm programs with their source programs
After recent changes, we are able to store only the
C/Rust source codes for Wasm programs, and only build
them when neccessary. This patch utilizes this
opportunity by removing most of the currently stored
raw Wasm programs, replacing them with C/Rust sources
and adding them to the new build system.
2023-05-08 10:47:34 +02:00

7 lines
99 B
Rust

use scylla_udf::export_udf;
#[export_udf]
fn plus42(i1: i16, i2: i16) -> i16 {
i1 + i2 + 42
}