Branch: emscripten-new
-
Don't build any native compiler-builtin components for emscripten
brson committedSep 28, 2016 -
Build a dummy alloc_jemalloc crate on platforms that don't support it
brson committedSep 27, 2016 This is a hack to support building targets that don't support jemalloc alongside hosts that do. The jemalloc build is controlled by a feature of the std crate, and if that feature changes between targets, it invalidates the fingerprint of std's build script (this is a cargo bug); so we must ensure that the feature set used by std is the same across all targets, which means we have to build the alloc_jemalloc crate for targets like emscripten, even if we don't use it.
-
Document emscripten's unwind impl and remove unused function
brson committedSep 27, 2016 -
brson committed
Sep 27, 2016 -
Unignore some working emscripten tests
brson committedSep 27, 2016 -
Call emcc with ERROR_ON_UNDEFINED_SYMBOLS
brson committedSep 25, 2016 -
rustbuild: Only build 'dist' when building the host
brson committedSep 23, 2016 Doing this step for the target results in the build system trying to build rustc for asmjs, which doesn't work.
-
Ignore various entire test modules on emscripten
brson committedSep 22, 2016 -
Rewrite emscripten unwinding to use libcxx
brson committedSep 22, 2016 -
Ignore another emscripten test because missing intrinsics
brson committedSep 16, 2016 -
Update bootstrap and compiletest to use the detected nodejs
brson committedSep 15, 2016 -
Change the sigs of set_print/set_panic to allow restoring the default…
brson committedSep 14, 2016 … objects
-
Ignore entire test modules on emscripten instead of individual tests
brson committedSep 14, 2016 -
Update LLVM with fastcomp patches
brson committedSep 7, 2016 -
Ignore all debuginfo tests on emscripten
brson committedSep 7, 2016 -
Ignore lots and lots of std tests on emscripten
brson committedSep 7, 2016 -
Improve bootstrap crate testing for emscripten
brson committedSep 6, 2016 -
Update libtest for single-threaded emscripten support
brson committedSep 6, 2016 -
brson committed
Sep 6, 2016 -
-
-
brson committed
Aug 31, 2016 -
Support emscripten in rustbuild
brson committedAug 30, 2016 -
-
-
Configure LLVM to use js backend
Initialize the asmjs backend for LLVM
-
Auto merge of rust-lang#36823 - durka:discriminant_value, r=nagisa
bors committedSep 30, 2016 add wrapper for discriminant_value, take 2 [This is rust-lang#34785 reopened, since @bors apparently gave up on that thread.] add wrapper for discriminant_value intrinsic Implementation of [RFC 1696](https://github.com/rust-lang/rfcs/blob/master/text/1696-discriminant.md). Wraps the `discriminant_value` intrinsic under the name `std::mem::discriminant`. In order to avoid prematurely leaking information about the implementation of enums, the return value is an opaque type, generic over the enum type, which implements Copy, Clone, PartialEq, Eq, Hash, and Debug (notably not PartialOrd). There is currently no way to get the value out excepting printing the debug representation. The wrapper is safe and can be stabilized soon as per discussion in rust-lang#24263. cc @aturon r? @nagisa
-
Auto merge of rust-lang#36822 - Aatch:resolve-callee-expr, r=luqmana
bors committedSep 30, 2016 Resolve the callee type in check_call before autoderef If the callee type is an associated type, then it needs to be normalized before trying to deref it. This matches the behaviour of `check_method_call` for autoderef behaviour in calls. Fixes rust-lang#36786
-
Auto merge of rust-lang#36819 - jseyfried:fix_ast_const_integer_ice, …
bors committedSep 30, 2016 …r=nrc Fix ICE on some macros in const integer positions (e.g. `[u8; m!()]`) Fixes rust-lang#36816. r? @nrc
-
Auto merge of rust-lang#36557 - sfackler:fix-hashdos-docs, r=alexcric…
bors committedSep 30, 2016 …hton Clean up hasher discussion on HashMap * We never want to make guarantees about protecting against attacks. * "True randomness" is not the right terminology to be using in this context. * There is significantly more nuance to the performance of SipHash than "somewhat slow". r? @steveklabnik Follow up to discussion on rust-lang#35371
-
Auto merge of rust-lang#36430 - llogiq:cow_add, r=alexcrichton
bors committedSep 29, 2016 impl Add<{str, Cow<str>}> for Cow<str> cc rust-lang#35837 -
sfackler committed
Sep 29, 2016 -
Auto merge of rust-lang#36377 - tormol:encode_utf, r=alexcrichton
bors committedSep 29, 2016 Change encode_utf{8,16}() to write to a buffer and panic if it's too small cc rust-lang#27784 Should the "A buffer that's too small" examples be removed and replaced by tests? -
Auto merge of rust-lang#36752 - jonas-schievink:vartmparg, r=eddyb
bors committedSep 29, 2016 Move MIR towards a single kind of local This PR modifies MIR to handle function arguments (`Arg`), user-defined variable bindings (`Var`), compiler-generated temporaries (`Tmp`), as well as the return value pointer equally. All of them are replaced with a single `Local` type, a few functions for iterating over different kinds of locals, and a way to get the kind of local we're dealing with (mainly used in the constant qualification/propagation passes). ~~I haven't managed to fix one remaining issue: A `StorageDead` not getting emitted for a variable (see the `TODO` in the test). If that's fixed, this is basically good to go.~~ Found the issue (an off-by-one error), fix incoming. r? @eddyb for changes to constant qualification and propagation I'm not quite sure about