You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow-up to #151431 (comment) which suggested to open a separate issue for discussing end-to-end, rmake-based wasm testing of #[export_visibility] and what would be necessary for that.
IIUC this requires:
Enabling "wasm" crate feature of the object crate dependency in src/tools/run-make-support/Cargo.toml - something like: object = { version = "0.37", features = ["read", "compression", "wasm"] }
Tweaking fn dynamic_lib_prefix and fn dynamic_lib_extension in src/tools/run-make-support/src/artifact_names.rs to use WASM-related values from library/std/src/sys/env_consts.rs
This is a follow-up to #151431 (comment) which suggested to open a separate issue for discussing end-to-end, rmake-based wasm testing of
#[export_visibility]and what would be necessary for that.IIUC this requires:
"wasm"crate feature of theobjectcrate dependency insrc/tools/run-make-support/Cargo.toml- something like:object = { version = "0.37", features = ["read", "compression", "wasm"] }fn dynamic_lib_prefixandfn dynamic_lib_extensioninsrc/tools/run-make-support/src/artifact_names.rsto use WASM-related values fromlibrary/std/src/sys/env_consts.rsexported_dynamic_symbol_namesworks for wasm. It usesobject::File::exports, which isn't implemented yet for wasm (as pointed out in Add new unstable attribute:#[export_visibility = ...]. #151431 (comment))