mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
feat(c-api) Do not rename wat2wasm for the moment.
This commit is contained in:
@@ -118,7 +118,7 @@ pub unsafe extern "C" fn wasm_instance_delete(_instance: Option<Box<wasm_instanc
|
||||
/// " (memory (export \"memory\") 1))"
|
||||
/// );
|
||||
/// wasm_byte_vec_t wasm;
|
||||
/// wasmer_wat2wasm(&wat, &wasm);
|
||||
/// wat2wasm(&wat, &wasm);
|
||||
///
|
||||
/// // Create the module.
|
||||
/// wasm_module_t* module = wasm_module_new(store, &wasm);
|
||||
@@ -245,7 +245,7 @@ mod tests {
|
||||
" call $sum))"
|
||||
);
|
||||
wasm_byte_vec_t wasm;
|
||||
wasmer_wat2wasm(&wat, &wasm);
|
||||
wat2wasm(&wat, &wasm);
|
||||
|
||||
// Create the module.
|
||||
wasm_module_t* module = wasm_module_new(store, &wasm);
|
||||
|
||||
Reference in New Issue
Block a user