1. 05 10月, 2018 1 次提交
  2. 02 10月, 2018 2 次提交
  3. 28 9月, 2018 1 次提交
  4. 25 9月, 2018 1 次提交
    • A
      std: Start implementing wasm32 atomics · b4877edd
      Alex Crichton 提交于
      This commit is an initial start at implementing the standard library for
      wasm32-unknown-unknown with the experimental `atomics` feature enabled. None of
      these changes will be visible to users of the wasm32-unknown-unknown target
      because they all require recompiling the standard library. The hope with this is
      that we can get this support into the standard library and start iterating on it
      in-tree to enable experimentation.
      
      Currently there's a few components in this PR:
      
      * Atomic fences are disabled on wasm as there's no corresponding atomic op and
        it's not clear yet what the convention should be, but this will change in the
        future!
      * Implementations of `Mutex`, `Condvar`, and `RwLock` were all added based on
        the atomic intrinsics that wasm has.
      * The `ReentrantMutex` and thread-local-storage implementations panic currently
        as there's no great way to get a handle on the current thread's "id" yet.
      
      Right now the wasm32 target with atomics is unfortunately pretty unusable,
      requiring a lot of manual things here and there to actually get it operational.
      This will likely continue to evolve as the story for atomics and wasm unfolds,
      but we also need more LLVM support for some operations like custom `global`
      directives for this to work best.
      b4877edd
  5. 11 9月, 2018 1 次提交
  6. 09 9月, 2018 1 次提交
  7. 07 9月, 2018 1 次提交
  8. 01 9月, 2018 1 次提交
  9. 31 8月, 2018 1 次提交
  10. 25 8月, 2018 1 次提交
  11. 24 8月, 2018 2 次提交
  12. 23 8月, 2018 2 次提交
  13. 20 8月, 2018 3 次提交
  14. 17 8月, 2018 1 次提交
  15. 16 8月, 2018 1 次提交
  16. 10 8月, 2018 1 次提交
  17. 08 8月, 2018 2 次提交
  18. 05 8月, 2018 3 次提交
  19. 25 7月, 2018 1 次提交
  20. 21 7月, 2018 1 次提交
  21. 11 7月, 2018 1 次提交
  22. 10 7月, 2018 1 次提交
    • S
      Implement #[alloc_error_handler] · 239ec7d2
      Simon Sapin 提交于
      This to-be-stable attribute is equivalent to `#[lang = "oom"]`.
      It is required when using the alloc crate without the std crate.
      It is called by `handle_alloc_error`, which is in turned called
      by "infallible" allocations APIs such as `Vec::push`.
      239ec7d2
  23. 07 7月, 2018 2 次提交
  24. 01 7月, 2018 1 次提交
  25. 23 6月, 2018 1 次提交
  26. 22 6月, 2018 1 次提交
  27. 16 6月, 2018 1 次提交
  28. 12 6月, 2018 2 次提交
  29. 11 6月, 2018 1 次提交
  30. 09 6月, 2018 1 次提交