Skip to content

Commit a20d215

Browse files
bors[bot]Hywan
andauthored
Merge #1629
1629: fix(c api) Remove the `trampoline` module since it's not used r=Hywan a=Hywan Need to be double-checked by @MarkMcCaskey. I'm not sure we are going to port this module since we have an entire new `Function` API that covers the features provided by the old trampoline API. Co-authored-by: Ivan Enderlin <[email protected]>
2 parents aeea0d6 + 460d034 commit a20d215

File tree

3 files changed

+1
-99
lines changed

3 files changed

+1
-99
lines changed

lib/api/src/module.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl Module {
198198
self.artifact.serialize_to_file(path.as_ref())
199199
}
200200

201-
/// Deserializes a a serialized Module binary into a `Module`.
201+
/// Deserializes a serialized Module binary into a `Module`.
202202
/// > Note: the module has to be serialized before with the `serialize` method.
203203
///
204204
/// # Safety

lib/c-api/src/deprecated/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,6 @@ pub mod instance;
9090
pub mod memory;
9191
pub mod module;
9292
pub mod table;
93-
// `not(target_family = "windows")` is simpler than `unix`. See build.rs
94-
// if you want to change the meaning of these `cfg`s in the header file.
95-
/*
96-
TODO: reenable `trampoline` module when the refactor gains feature parity with Wasmer master
97-
#[cfg(all(not(target_family = "windows"), target_arch = "x86_64"))]
98-
pub mod trampoline;*/
9993
pub mod value;
10094

10195
/// The `wasmer_result_t` enum is a type that represents either a

lib/c-api/src/deprecated/trampoline.rs

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)