- 08 12月, 2013 3 次提交
-
-
由 Kiet Tran 提交于
-
由 bors 提交于
Right now multiple targets/hosts is broken because the libdir passed for all of the LLVM libraries is for the wrong architecture. By using the right arch (target, not host), everything is linked and assembled just fine.
-
由 Alex Crichton 提交于
Right now multiple targets/hosts is broken because the libdir passed for all of the LLVM libraries is for the wrong architecture. By using the right arch (target, not host), everything is linked and assembled just fine.
-
- 07 12月, 2013 13 次提交
-
-
由 bors 提交于
Previously something like struct NotEq; #[deriving(Eq)] struct Error { foo: NotEq } would just point to the `foo` field, with no mention of the `deriving(Eq)`. With this patch, the compiler creates a note saying "in expansion of #[deriving(Eq)]" pointing to the Eq. (includes some cleanup/preparation; the commit view might be nicer, to filter out the noise of the first one.)
-
由 bors 提交于
Fixes #9382. r? @nikomatsakis
-
由 bors 提交于
Fixes #10819.
-
由 bors 提交于
+ Delete trailing whitespace.
-
由 bors 提交于
This implements parts of the changes to `Result` and `Option` I proposed and discussed in this thread: https://mail.mozilla.org/pipermail/rust-dev/2013-November/006254.html This PR includes: - Adding `ok()` and `err()` option adapters for both `Result` variants. - Removing `get_ref`, `expect` and iterator constructors for `Result`, as they are reachable with the variant adapters. - Removing `Result`s `ToStr` bound on the error type because of composability issues. (See https://mail.mozilla.org/pipermail/rust-dev/2013-November/006283.html) - Some warning cleanups
-
由 bors 提交于
Now that we have the necessary logic in rustc for windows, this is possible to land.
-
由 Alex Crichton 提交于
In order to keep up to date with changes to the libraries that `llvm-config` spits out, the dependencies to the LLVM are a dynamically generated rust file. This file is now automatically updated whenever LLVM is updated to get kept up-to-date. At the same time, this cleans out some old cruft which isn't necessary in the makefiles in terms of dependencies. Closes #10745 Closes #10744
-
由 Huon Wilson 提交于
Fixes #10819.
-
由 Huon Wilson 提交于
using the expansion info. Previously something like struct NotEq; #[deriving(Eq)] struct Error { foo: NotEq } would just point to the `foo` field, with no mention of the `deriving(Eq)`. With this patch, the compiler creates a note saying "in expansion of #[deriving(Eq)]" pointing to the Eq.
-
由 Huon Wilson 提交于
format. Previously, any attempt to use this information from inside something like #[deriving(Foo)] would result in it printing like `deriving(Foo)!`.
-
由 Huon Wilson 提交于
-
由 Marvin Löbel 提交于
-
由 Luqman Aden 提交于
-
- 06 12月, 2013 17 次提交
-
-
由 bors 提交于
This should make maintenance of lang items simpler and also reduces the line count by about 201 lines.
-
由 bors 提交于
Because the root module isn't actually an item, we need to do some hackish handling of it. Closes #10656.
-
由 Corey Richardson 提交于
Because the root module isn't actually an item, we need to do some hackish handling of it. Closes #10656.
-
由 bors 提交于
This upgrades LLVM in order to make progress on #10708, and it's also been awhile since we last upgraded! The contentious point of this upgrade is that all JIT support has been removed because LLVM is changing it and we're not keeping up with it.
-
由 Chris Morgan 提交于
This should make maintenance of lang items simpler and also reduces the line count by about 201 lines.
-
由 bors 提交于
as recommended by @huonw on this PR https://github.com/mozilla/rust/pull/10711 , I removed intermediate step that generates a string instead of directly writing to Writer without generating intermediate string.
-
由 bors 提交于
Fixes #10565. `'self` is still allowed for the moment, as it is used everywhere in the codebase. And I'm not sure if it still has a special meaning currently or not.
-
由 Alex Crichton 提交于
The main one removed is rust_upcall_reset_stack_limit (continuation of #10156), and this also removes the upcall_trace function. The was hidden behind a `-Z trace` flag, but if you attempt to use this now you'll get a linker error because there is no implementation of the 'upcall_trace' function. Due to this no longer working, I decided to remove it entirely from the compiler (I'm also a little unsure on what it did in the first place).
-
由 bors 提交于
Make trait lifetime parameters early bound in static fn type. Reasoning for this change is (hopefully) explained well enough in the comment, so I'll not duplicate it here. Fixes #10391. r? @pnkfelix
-
由 Niko Matsakis 提交于
-
由 bors 提交于
It's useful to allow users to get at the internal std::rc::comm::Port, and other such fields, since they implement important traits like Select. See [rust-dev] "select on std::comm::Port and different types" at https://mail.mozilla.org/pipermail/rust-dev/2013-November/006735.html for background.
-
由 bors 提交于
Right now, as pointed out in #8132, it is very easy to introduce a subtle race in the runtime. I believe that this is the cause of the current flakiness on the bots. I have taken the last idea mentioned in that issue which is to use a lock around descheduling and context switching in order to solve this race. Closes #8132
-
由 bors 提交于
There's an open issue ([Issue #4988](https://github.com/mozilla/rust/issues/4988?source=cc)) for adding an LRU Cache to the standard library. I'm new to this so I hope I didn't miss anything I'm supposed to do.
-
由 Léo Testard 提交于
-
由 bors 提交于
-
由 Alex Crichton 提交于
Right now, as pointed out in #8132, it is very easy to introduce a subtle race in the runtime. I believe that this is the cause of the current flakiness on the bots. I have taken the last idea mentioned in that issue which is to use a lock around descheduling and context switching in order to solve this race. Closes #8132
-
由 Alex Crichton 提交于
LLVM's JIT has been updated numerous times, and we haven't been tracking it at all. The existing LLVM glue code no longer compiles, and the JIT isn't used for anything currently. This also rebases out the FixedStackSegment support which we have added to LLVM. None of this is still in use by the compiler, and there's no need to keep this functionality around inside of LLVM. This is needed to unblock #10708 (where we're tripping an LLVM assertion).
-
- 05 12月, 2013 7 次提交
-
-
由 Alexandros Tasos 提交于
-
由 bors 提交于
Rename the `*::init()` functions back to `*::new()`, since `new` is not going to become a keyword.
-
由 Kevin Ballard 提交于
-
由 Kevin Ballard 提交于
-
由 Kevin Ballard 提交于
This reverts commit c54427dd. Leave the #[ignores] in that were added to rustpkg tests. Conflicts: src/librustc/driver/driver.rs src/librustc/metadata/creader.rs
-
由 bors 提交于
This is just an implementation detail of using libuv, so move the libuv-specific logic into librustuv.
-
由 bors 提交于
This version is inspired by the best version in C by Mr Ledrug, but without the parallelisation.
-