- 18 9月, 2013 1 次提交
-
-
由 Steve Klabnik 提交于
This will initialize a new workspace.
-
- 17 9月, 2013 3 次提交
-
-
由 bors 提交于
-
由 bors 提交于
This just removes the stray "foo.c" that `workcache::test` leaves behind when, for example, `make check` runs.
-
由 bors 提交于
A SendStr is a string that can hold either a ~str or a &'static str. This can be useful as an optimization when an allocation is sometimes needed but the common case is statically known. Possible use cases include Maps with both static and owned keys, or propagating error messages across task boundaries. SendStr implements most basic traits in a way that hides the fact that it is an enum; in particular things like order and equality are only determined by the content of the wrapped strings. This basically reimplements #7599 and has a use case for replacing an similar type in `std::rt::logging` ( Added in #9180).
-
- 16 9月, 2013 35 次提交
-
-
由 Marvin Löbel 提交于
Split up test function a bit
-
由 Marvin Löbel 提交于
A SendStr is a string that can hold either a ~str or a &'static str. This can be useful as an optimization when an allocation is sometimes needed but the common case is statically known. Possible use cases include Maps with both static and owned keys, or propagating error messages across task boundaries. SendStr implements most basic traits in a way that hides the fact that it is an enum; in particular things like order and equality are only determined by the content of the wrapped strings. Replaced std::rt:logging::SendableString with SendStr Added tests for using an SendStr as key in Hash- and Treemaps
-
由 bors 提交于
Ignore failing tests on Android to prepare for #9120.
-
由 Seo Sanghyeon 提交于
-
由 Seo Sanghyeon 提交于
-
由 bors 提交于
Also rustify .as_bytes(), so it no longer calls libc::strlen() and is inlineable.
-
由 bors 提交于
This doesn't enable it by default yet, or include the frontend. But the tool is pretty much done, and it'd be nice to stave off bitrot. I couldn't get it to actually build with the Makefile though. I don't really understand what is going on in that makefile at all. Could @graydon or @pnkfelix lend a hand?
-
由 Corey Richardson 提交于
-
由 Corey Richardson 提交于
-
由 Corey Richardson 提交于
-
由 Felix S. Klock II 提交于
-
由 Corey Richardson 提交于
-
由 bors 提交于
While they may have the same name within various scopes, this changes static names to use path_pretty_name to append some hash information at the end of the symbol. We're then guaranteed that each static has a unique NodeId, so this NodeId is as the "hash" of the pretty name. Closes #9188
-
由 bors 提交于
Beforehand it was assumed that the standard cdecl abi was used for all extern fns of extern crates, but this reads the abi of the extern fn type and declares the function in the local crate with the appropriate type. I was trying to think of how to write a test for this, but I was just drawing up blanks :(. Are there standard functions in libc which are not of the cdecl abi? If so we could try linking to them and make sure that the cal completes successfully. Otherwise, I manually verified that the function was declared correctly by looking at the llvm assembly. cc #9055 (I'm not sure if this will fix that issue)
-
由 bors 提交于
We don't seem to be using `SimpleVisitor` anywhere in rustc. Is there any reason to keep it around? r? anyone
-
由 bors 提交于
I created a new branch rust-llvm-2013-09-11 in my llvm repo to mark this momentous occasion
-
由 Lindsey Kuper 提交于
This prevents a stray `foo.c` from being left lying around after tests run, and it's more consistent with the rest of the code.
-
由 bors 提交于
-
由 Alex Crichton 提交于
Beforehand it was assumed that the standard cdecl abi was used for all extern fns of extern crates, but this reads the abi of the extern fn type and declares the function in the local crate with the appropriate type.
-
由 Daniel Micay 提交于
-
由 Kevin Ballard 提交于
Also rustify .as_bytes(), so it no longer calls libc::strlen() and is inlineable.
-
由 Alex Crichton 提交于
-
由 Daniel Micay 提交于
this can just be done using CallWithConv
-
由 klutzy 提交于
Closes #8814.
-
由 klutzy 提交于
They were blocked by #8810, but it works now.
-
由 klutzy 提交于
Closes #8816.
-
由 bors 提交于
The arguments after `rust test filename.rs` should be passed through to the test binary. This allows the `rust` command to be used to run a subset of tests, to run ignored tests, and to run benchmarks.
-
由 David Creswick 提交于
The arguments after `rust test filename.rs` should be passed through to the test binary. This allows the `rust` command to be used to run a subset of tests, to run ignored tests, and to run benchmarks.
-
由 bors 提交于
This pull request finally adds support for recursive type definitions and provides a stub implementation for object pointers.
-
由 klutzy 提交于
Fixes `connect_error` part of #8811.
-
由 klutzy 提交于
Also enables request_sanity_check() test. Closes #8817
-
由 klutzy 提交于
FormatMessageA may return non-ascii message, which is encoded as system code page, not utf8. This may cause `assert!(is_utf8(v))` failure on some non-English machines. This patch replaces it with FormatMessageW, which returns utf-16 message. Fixes `make check-stage2-std` failure on my machine. :)
-
由 klutzy 提交于
Assumes drive C: exists. Closes #8812.
-
由 bors 提交于
Just refactoring in tests.rs.
-
由 Tim Chevalier 提交于
-
- 15 9月, 2013 1 次提交
-
-
由 Michael Woerister 提交于
-