Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WASM lib] Add compiler error with instructions to build the webassembly #2316

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

Anaethelion
Copy link
Contributor

This adds a simple compilation error in case someone tries to build the lib with a direct cargo build.

@Anaethelion Anaethelion requested a review from swallez October 23, 2023 16:03
Copy link
Member

@swallez swallez left a comment

Choose a reason for hiding this comment

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

LGTM. Nice, as indeed this crate only makes sense in the context of a WASM compilation.

@Anaethelion Anaethelion merged commit 365e1a9 into main Oct 23, 2023
4 checks passed
@Anaethelion Anaethelion deleted the wasm_compilation_warning branch October 23, 2023 16:06
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.

2 participants