Configures whether shadowing previous names is allowed or not. By default shadowing is not allowed.
| 33 | /// |
| 34 | /// By default shadowing is not allowed. |
| 35 | void allow_shadowing(bool allow) { |
| 36 | wasmtime_linker_allow_shadowing(ptr.get(), allow); |
| 37 | } |
| 38 | |
| 39 | /// Defines the provided item into this linker with the given name. |
| 40 | Result<std::monostate> define(Store::Context cx, std::string_view module, |