-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Support for Wasm32 Linux Target #3778
base: libc-0.2
Are you sure you want to change the base?
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
Notes about the new target
|
Is this still a work in progress? There are still failing tests. This should target @rustbot author |
As date of initiating this PR, Failing tests seem to emerge from using features like |
All in all I'm a little confused about the goal of this PR. Is If we do have something to add here, it should target Cc @alexcrichton per usual for anything wasm related |
It is intended for upstreaming. This fork of rustc supports the target. I'm also generally confused about the process since Thanks |
Process-wise what I might recommend (broadly for this target as opposed to this specific PR) would be:
Put another way to answer this:
The answer I think is generally "you don't" in the sense that new and/or tier 3 targets generally don't have tests. It takes a bit to bootstrap the target into a workable state. I'd also recommend going with what @tgross35 was mentioning by keeping this PR minimal to start out. This is definitely one where it'd be useful to have the CI checks all enabled for this target but that'll involve toolchain and CI wrangling. That'll ideally be in place before adding all of the target-specific bits and will serve as a good double-check that all the reused definitions here are correct too. |
Alex covered most of this, but basically a MCP followed by target support merged into After that happens, you can start to add support in |
Awesome, thanks @tgross35, @alexcrichton. Will split this PR into multiple chunks and get rid of testing as a tier-3 target |
libc-test/semver
when you add/remove item(s), e.g. editlinux.txt
if you add an item tosrc/unix/linux_like/linux/mod.rs
*LAST
or*MAX
(see #3131)ci/style.sh
passescd libc-test && cargo test