1. 13 1月, 2018 2 次提交
  2. 04 1月, 2018 1 次提交
  3. 27 12月, 2017 2 次提交
  4. 12 12月, 2017 1 次提交
  5. 06 12月, 2017 1 次提交
  6. 03 12月, 2017 1 次提交
  7. 29 11月, 2017 1 次提交
    • A
      ci: Start running wasm32 tests on Travis · 73970bf6
      Alex Crichton 提交于
      This commit allocates a builder to running wasm32 tests on Travis. Not all test
      suites pass right now so this is starting out with just the run-pass and the
      libcore test suites. This'll hopefully give us a pretty broad set of coverage
      for integration in rustc itself as well as a somewhat broad coverage of the llvm
      backend itself through integration/unit tests.
      73970bf6
  8. 20 11月, 2017 1 次提交
    • A
      std: Add a new wasm32-unknown-unknown target · 80ff0f74
      Alex Crichton 提交于
      This commit adds a new target to the compiler: wasm32-unknown-unknown. This
      target is a reimagining of what it looks like to generate WebAssembly code from
      Rust. Instead of using Emscripten which can bring with it a weighty runtime this
      instead is a target which uses only the LLVM backend for WebAssembly and a
      "custom linker" for now which will hopefully one day be direct calls to lld.
      
      Notable features of this target include:
      
      * There is zero runtime footprint. The target assumes nothing exists other than
        the wasm32 instruction set.
      * There is zero toolchain footprint beyond adding the target. No custom linker
        is needed, rustc contains everything.
      * Very small wasm modules can be generated directly from Rust code using this
        target.
      * Most of the standard library is stubbed out to return an error, but anything
        related to allocation works (aka `HashMap`, `Vec`, etc).
      * Naturally, any `#[no_std]` crate should be 100% compatible with this new
        target.
      
      This target is currently somewhat janky due to how linking works. The "linking"
      is currently unconditional whole program LTO (aka LLVM is being used as a
      linker). Naturally that means compiling programs is pretty slow! Eventually
      though this target should have a linker.
      
      This target is also intended to be quite experimental. I'm hoping that this can
      act as a catalyst for further experimentation in Rust with WebAssembly. Breaking
      changes are very likely to land to this target, so it's not recommended to rely
      on it in any critical capacity yet. We'll let you know when it's "production
      ready".
      
      ---
      
      Currently testing-wise this target is looking pretty good but isn't complete.
      I've got almost the entire `run-pass` test suite working with this target (lots
      of tests ignored, but many passing as well). The `core` test suite is still
      getting LLVM bugs fixed to get that working and will take some time. Relatively
      simple programs all seem to work though!
      
      ---
      
      It's worth nothing that you may not immediately see the "smallest possible wasm
      module" for the input you feed to rustc. For various reasons it's very difficult
      to get rid of the final "bloat" in vanilla rustc (again, a real linker should
      fix all this). For now what you'll have to do is:
      
          cargo install --git https://github.com/alexcrichton/wasm-gc
          wasm-gc foo.wasm bar.wasm
      
      And then `bar.wasm` should be the smallest we can get it!
      
      ---
      
      In any case for now I'd love feedback on this, particularly on the various
      integration points if you've got better ideas of how to approach them!
      80ff0f74
  9. 15 11月, 2017 1 次提交
  10. 20 10月, 2017 1 次提交
  11. 16 10月, 2017 2 次提交
  12. 12 10月, 2017 1 次提交
    • A
      rustbuild: Prevent spurious rebuilds of the RLS · e6da40c6
      Alex Crichton 提交于
      The RLS currently is rebuilt every time you test it because the `OPENSSL_DIR`
      env var is changing, which is in turn caused by an accidental omission of
      `prepare_tool_cargo` when testing the RLS.
      e6da40c6
  13. 10 10月, 2017 1 次提交
  14. 28 9月, 2017 1 次提交
  15. 19 9月, 2017 2 次提交
  16. 18 9月, 2017 3 次提交
  17. 16 9月, 2017 1 次提交
    • A
      rustbuild: Fix test "test rustdoc" invocation · 3da54fb0
      Alex Crichton 提交于
      Previously it would use the librustc output directory which would cause rustdoc
      to get entirely recompiled, whereas the intention is that it uses the
      already-compiled artifacts from building rustdoc itself, using the tool output
      directory
      3da54fb0
  18. 13 9月, 2017 1 次提交
  19. 06 9月, 2017 1 次提交
    • M
      Test rustdoc unit tests. · f87696b2
      Mark Simulacrum 提交于
      Doc tests are temporarily disabled until next release cycle, since
      current beta Cargo errors on them. Upgrade should be smooth as the
      relevant tests are already fixed in this commit.
      f87696b2
  20. 16 8月, 2017 1 次提交
  21. 13 8月, 2017 4 次提交
  22. 29 7月, 2017 1 次提交
    • A
      rustbuild: Use Cargo's "target runner" · 8e7849e7
      Alex Crichton 提交于
      This commit leverages a relatively new feature in Cargo to execute
      cross-compiled tests, the `target.$target.runner` configuration. We configure it
      through environment variables in rustbuild and this avoids the need for us to
      locate and run tests after-the-fact, instead relying on Cargo to do all that
      execution for us.
      8e7849e7
  23. 27 7月, 2017 4 次提交
  24. 25 7月, 2017 1 次提交
    • A
      Bump master to 1.21.0 · 9010567d
      Alex Crichton 提交于
      This commit bumps the master branch's version to 1.21.0 and also updates the
      bootstrap compiler from the freshly minted beta release.
      9010567d
  25. 24 7月, 2017 1 次提交
  26. 23 7月, 2017 2 次提交
  27. 22 7月, 2017 1 次提交