]> git.lizzy.rs Git - rust.git/commit
Prepared `std::sys` for removal, and made `begin_unwind` simpler
authorMarvin Löbel <loebel.marvin@gmail.com>
Sun, 27 Oct 2013 19:12:40 +0000 (20:12 +0100)
committerMarvin Löbel <loebel.marvin@gmail.com>
Wed, 30 Oct 2013 20:19:18 +0000 (21:19 +0100)
commit54f4dcd76aafe33c553f6b58fe3e808f055465e1
tree1a217bcb8ea4d3879dd86ece05468334af1754d2
parente42e378f32e212997fc42281112b1c9c4c247de0
Prepared `std::sys` for removal, and made `begin_unwind` simpler

- `begin_unwind` is now generic over any `T: Any + Send`.
- Every value you fail with gets boxed as an `~Any`.
- Because of implementation details, `&'static str` and `~str` are still
  handled specially behind the scenes.
- Changed the big macro source string in libsyntax to a raw string
  literal, and enabled doc comments there.
16 files changed:
src/libextra/extra.rs
src/libstd/rt/borrowck.rs
src/libstd/rt/kill.rs
src/libstd/rt/task.rs
src/libstd/std.rs
src/libstd/sys.rs
src/libstd/task/mod.rs
src/libstd/task/spawn.rs
src/libstd/unstable/lang.rs
src/libstd/unstable/raw.rs
src/libsyntax/ext/build.rs
src/libsyntax/ext/expand.rs
src/test/compile-fail/fail-expr.rs [deleted file]
src/test/compile-fail/fail-type-err.rs [deleted file]
src/test/run-fail/fail-macro-send_str.rs [deleted file]
src/test/run-pass/unit-like-struct-drop-run.rs