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

Document WebAssembly target feature expectations #128511

Merged
merged 9 commits into from
Aug 23, 2024

Commits on Aug 1, 2024

  1. Document WebAssembly target feature expectations

    This commit is a result of the discussion on rust-lang#128475 and incorporates
    parts of rust-lang#109807 as well. This is all done as a new page of
    documentation for the `wasm32-unknown-unknown` target which previously
    did not exist. This new page goes into details about the preexisting
    target and additionally documents the expectations for WebAssembly
    features and code generation.
    
    The tl;dr is that LLVM will enable features over time after most engines
    have had support for awhile. Compiling without features requires
    `-Ctarget-cpu=mvp` to rustc plus `-Zbuild-std` to Cargo.
    
    Closes rust-lang#109807
    Closes rust-lang#128475
    alexcrichton committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    e65a48e View commit details
    Browse the repository at this point in the history
  2. Review comments

    alexcrichton committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    dea3846 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    927633c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cfe3ea6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce7f1b7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b6f65a4 View commit details
    Browse the repository at this point in the history
  7. Appease tidy

    alexcrichton committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a5082ef View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Review comments

    alexcrichton committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    06197ef View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Review comments

    alexcrichton committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    7d2595f View commit details
    Browse the repository at this point in the history