All notable changes to this project will be documented in this file. The project adheres to Semantic Versioning.
- Support upcasting and downcasting of
Resource
s. - Support expressions in
link_name
/export_name
attributes, such as#[export_name = concat("prefix_", stringify!($name))]
for use in macros ($name
is a macro variable). Previously, only string literals were supported. - Support re-exporting the crate by adding an optional
crate
parameter to the#[externref]
attribute, e.g.#[externref(crate = "other_crate::_externref")]
whereother_crate
definespub use externref as _externref
. - CLI: add a command-line application for transforming WASM modules, and the Docker image with this application.
- Macro: update
syn
dependency to 2.0. - Bump minimum supported Rust version to 1.66.
- Fix an incorrect conditional compilation attribute for a tracing event in the processor module.
- Fix / document miscompilation resulting from optimization tools inlining
an
externref
-operation function. The processor now returns an error if it encounters such an inlined function, and the docs mention how to avoid inlining (do not run WASM optimization tools before theexternref
processor).
The initial release of externref
.