- 12 9月, 2014 13 次提交
-
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
-
由 bors 提交于
closes #16977 r? @nikomatsakis
-
由 bors 提交于
The Guide isn't 100% perfect, but it's basically complete. It's certainly better than the tutorial is. Time to start pointing more people its way. I also just made it consistent to call all things 'guides' rather than tutorials. Fixes #9874. This is the big one. And two bugs that just go away. Fixes #14503. Fixes #15009.
-
由 Ahmed Charles 提交于
-
由 bors 提交于
Package rustc's mingw dependencies into Windows installer to avoid requiring a separate mingw install. Closes #11782
-
由 Nick Cameron 提交于
closes #16977
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
The Guide isn't 100% perfect, but it's basically complete. It's certainly better than the tutorial is. Time to start pointing more people its way. I also just made it consistent to call all things 'guides' rather than tutorials. Fixes #9874. This is the big one. And two bugs that just go away. Fixes #14503. Fixes #15009.
-
由 bors 提交于
fixes #17148
-
由 Vadim Chugunov 提交于
gcc, ld, ar, dlltool, windres go into $(RUST)/bin/rustlib/<triple>/bin/ platform libraries and startup objects got into $(RUST)/bin/rustlib/<triple>/lib/
-
由 Vadim Chugunov 提交于
-
由 Vadim Chugunov 提交于
so that rustc can invoke them.
-
- 11 9月, 2014 11 次提交
-
-
由 bors 提交于
whoops Fixes https://github.com/rust-lang/rust/pull/16827#issuecomment-55160273
-
由 bors 提交于
Avoid ever constructing cyclic types in the first place, rather than detecting them in resolve. This simplifies logic elsewhere in the compiler, in particular on the trait reform branch. r? @pnkfelix or @pcwalton cc #5527
-
由 bors 提交于
Bugs in pdflatex (#12804) are preventing the guide from landing (https://github.com/rust-lang/rust/pull/16657). This solves the immediate problem by changing the build system to prefer lualatex, xelatex to pdflatex (which is apparently obsolete). Because the xelatex on the snapshot bot seems to completely ignore the `-output-directory` option, I also had to frob the makefiles a bit for that case.
-
由 bors 提交于
The pointer in the slice must not be null, because enum representations make that assumption. The `exchange_malloc` function returns a non-null sentinel for the zero size case, and it must not be passed to the `exchange_free` lang item. Since the length is always equal to the true capacity, a branch on the length is enough for most types. Slices of zero size types are statically special cased to never attempt deallocation. This is the same implementation as `Vec<T>`. Closes #14395
-
由 Vadim Chugunov 提交于
-
由 bors 提交于
Closes #17115
-
由 bors 提交于
This allows code to access the fields of tuples and tuple structs behind the feature gate `tuple_indexing`: ```rust #![feature(tuple_indexing)] let x = (1i, 2i); assert_eq!(x.1, 2); struct Point(int, int); let origin = Point(0, 0); assert_eq!(origin.0, 0); assert_eq!(origin.1, 0); ``` Implements [RFC 53](https://github.com/rust-lang/rfcs/blob/master/active/0053-tuple-accessors.md). Closes #16950.
-
由 Steve Klabnik 提交于
fixes #17148
-
由 Steve Klabnik 提交于
whoops Fixes https://github.com/rust-lang/rust/pull/16827#issuecomment-55160273
-
由 bors 提交于
This builds on https://github.com/rust-lang/rust/pull/17109, putting the target triple into the installer name so that we can have both 32-bit and 64-bit. The resulting installers will be called `rust-0.12.0-pre-x86_64-w64-mingw32.exe`, etc.
-
由 bors 提交于
This adds links to SO, reddit, and discuss to the README. The main intent is to start advertising discuss.rust-lang.org more, in a location that doesn't mislead casual users to it (people who are building Rust are more likely to be the right audience than those that are just visiting the web site).
-
- 10 9月, 2014 16 次提交
-
-
由 bors 提交于
Currently `./configure --llvm-root=...` and similar flags will break incremental builds by forcing reconfiguration on every `make`. This happens because `reconfig.mk` incorrectly treats submodules in the `-` (uninitialized) state as requiring reconfiguration, and `./configure` deliberately deinitializes unneeded submodules. The fix is to reconfigure only when submodules are in the `+` state (wrong commit checked out).
-
由 bors 提交于
-
由 bors 提交于
Previously, some parts of this optimization were impossible because the alignment passed to the free function was not correct. That was fully fixed by #17012. Closes #17092
-
由 Daniel Micay 提交于
Closes #13994
-
由 Daniel Micay 提交于
Previously, some parts of this optimization were impossible because the alignment passed to the free function was not correct. That was fully fixed by #17012. Closes #17092
-
由 bors 提交于
I missed some annotations, and some were in a different style.
-
由 Steven Fackler 提交于
Closes #17115
-
由 bors 提交于
Instead of `extern crate foo = bar`, write `extern crate bar as foo`. Instead of `extern crate baz = "quux"`, write `extern crate "quux" as baz`. Closes #16461. [breaking-change] r? @brson
-
由 bors 提交于
A few steps toward https://github.com/rust-lang/rust/issues/15994
-
由 Patrick Walton 提交于
Instead of `extern crate foo = bar`, write `extern crate bar as foo`. Instead of `extern crate baz = "quux"`, write `extern crate "quux" as baz`. Closes #16461. [breaking-change]
-
由 Brian Anderson 提交于
-
由 bors 提交于
Based on an observation that strings and arguments are always interleaved, thanks to #15832. Additionally optimize invocations where formatting parameters are unspecified for all arguments, e.g. `"{} {:?} {:x}"`, by emptying the `__STATIC_FMTARGS` array. Next, `Arguments::new` replaces an empty slice with `None` so that passing empty `__STATIC_FMTARGS` generates slightly less machine code when `Arguments::new` is inlined. Furthermore, formatting itself treats these cases separately without making redundant copies of formatting parameters. All in all, this adds a single mov instruction per `write!` in most cases. That's why code size has increased.
-
由 Steve Klabnik 提交于
-
由 Steve Klabnik 提交于
I missed some annotations, and some were in a different style.
-
由 Niko Matsakis 提交于
Avoid ever constructing cyclic types in the first place, rather than detecting them in resolve. This simplifies logic elsewhere in the compiler. cc #5527
-
由 P1start 提交于
This allows code to access the fields of tuples and tuple structs: let x = (1i, 2i); assert_eq!(x.1, 2); struct Point(int, int); let origin = Point(0, 0); assert_eq!(origin.0, 0); assert_eq!(origin.1, 0);
-