Module __rt

Source
Expand description

Internal-only runtime module used for the wasm_bindgen_test crate.

No API contained in this module will respect semver, these should all be considered private APIs.

Re-exports§

pub use wasm_bindgen;

Modules§

browser
Support for printing status information of a test suite in a browser.
detect
Runtime detection of whether we’re in node.js or a browser.
node
Support for printing status information of a test suite in node.js
worker
Support for printing status information of a test suite in a browser.

Structs§

Context
Runtime test harness support instantiated in JS.

Traits§

Termination
Similar to std::process::Termination, but for wasm-bindgen tests.

Functions§

__wbgtest_console_debug
Handler for console.debug invocations. See above.
__wbgtest_console_error
Handler for console.error invocations. See above.
__wbgtest_console_info
Handler for console.info invocations. See above.
__wbgtest_console_log
Handler for console.log invocations.
__wbgtest_console_warn
Handler for console.warn invocations. See above.
console_error
Internal implementation detail of the console_error! macro.
console_log
Internal implementation detail of the console_log! macro.

Attribute Macros§

wasm_bindgen
A list of all the attributes can be found here: https://rustwasm.github.io/docs/wasm-bindgen/reference/attributes/index.html