Skip to content

Conversation

@futursolo
Copy link
Owner

Fix #120

Fix #121

This pull request implements mitigates rust-lang/rust#111888 by implementing a temporary feature gate on stylist-core to disable JsValue.

@futursolo futursolo changed the title Test workaround Mitigate linker error from Rust compiler Jun 6, 2023
@futursolo futursolo requested a review from WorldSEnder June 10, 2023 08:22
Copy link
Collaborator

@WorldSEnder WorldSEnder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Initially, I found confusing info about the feature unification of dependencies of proc-macros, but it seems to me now that features of dependencies of proc macros and features of normal dependencies are not unified, So the proc macro, targeting not(target_arch = "wasm32"), should correctly activate __proc_macro_workaround, while the rest of rest of the crate depends on stylist-core without that feature as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing JsValue in a proc_macro causes a compilation error on recent nightly's

3 participants