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

Eliminate the need for a C compiler when targeting wasm32-* #1473

Closed
briansmith opened this issue Mar 28, 2022 · 3 comments
Closed

Eliminate the need for a C compiler when targeting wasm32-* #1473

briansmith opened this issue Mar 28, 2022 · 3 comments

Comments

@briansmith
Copy link
Owner

The most common cross-compilation target seems to be wasm32-unknown-unknown and wasm32-wasi. Users have found needing to install a LLVM/clang toolchain that can target wasm32 to be too much of a burden. We should get rid of the requirement to have a C compiler when targeting wasm32-* targets. (Orthogonally, we're working on expanding the functionality that is available for wasm32-* targets, which means that eventually we should have all functionality available without needing a C compiler.)

@briansmith
Copy link
Owner Author

In particular, on macOS hosts, a year or two ago, we have found that Apple Clang wasn't able to target wasm32-* targets, so people had to install LLVM Clang instead. Then, people had trouble dealing with both Apple Clang and LLVM Clang being installed at the same time.

@chertov
Copy link

chertov commented Jun 2, 2022

we have found that Apple Clang wasn't able to target wasm32-* targets, so people had to install LLVM Clang instead.

Yes, but brew install llvm llvm works well! I don't have issues to use both original Apple and custom brew LLVM
#1483 (comment)

@briansmith
Copy link
Owner Author

Closing this since in general we're trying to get rid of C and not particularly just for wasm32.

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

No branches or pull requests

2 participants