- 05 4月, 2013 10 次提交
-
-
由 Niko Matsakis 提交于
bare function store (which is not in fact a kind of value) but rather ty::TraitRef. Removes many uses of fail!() and other telltale signs of type-semantic mismatch. cc #4183 (not a fix, but related)
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
-
由 Niko Matsakis 提交于
per method and list of def-ids per trait.
-
由 Niko Matsakis 提交于
Move the replacement of bound regions out from `check_arguments` and into check_call / method_resolution
-
由 Niko Matsakis 提交于
-
由 bors 提交于
-
由 bors 提交于
Because the PTHREAD_STACK_MIN of my system is larger than default size, I add the stack_sz check to prevent assertion failure. Besides, libuv has to be modified because some flags are different from other targets. Instead of using hardcoded numbers, I change them to predefined symbols. By the way, the toolchain I used is http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/mips-gnu-linux libuv patch: http://people.cs.nctu.edu.tw/~jyyou/rust/mips-uv.patch Below is the current test result. * core test stackwalk tests can cause segfault so I ignored them. ``` failures: io::tests::test_read_be_int_n io::tests::test_read_buffer_big_enough io::tests::test_read_f32 io::tests::test_read_write_be io::tests::test_read_write_f32 io::tests::test_read_write_le io::tests::test_simple io::tests::test_write_empty rand::tests::rng_seeded_custom_seed2 unstable::uvll::test::test_uv_ll_struct_size_addrinfo unstable::uvll::test::test_uv_ll_struct_size_uv_timer_t result: FAILED. 596 passed; 11 failed; 49 ignored ``` * std test: ``` failures: time::tests::run_tests result: FAILED. 330 passed; 1 failed; 21 ignored ```
-
由 Jack Moffitt 提交于
-
- 04 4月, 2013 27 次提交
-
-
由 bors 提交于
-
由 Diggory Hardy 提交于
-
由 Jyun-Yan You 提交于
-
由 Jyun-Yan You 提交于
-
由 Jyun-Yan You 提交于
-
由 bors 提交于
It doesn't quite reflect reality
-
由 bors 提交于
The sentence "Remember that `(float, float)` is a tuple of two floats" sounds like you've already read a section on tuples, but that section comes later. Changing it to "Assuming that ..." makes it more about taking the writer's word that the syntax is how tuples are defined.
-
由 bors 提交于
Closes #5699.
-
由 Brian Anderson 提交于
It doesn't quite reflect reality
-
由 bors 提交于
One word typo fix
-
由 bors 提交于
Existing rust code decides main name by host environment of rustc. I think it should be chosen by build target. This patch is also removing one of the android hacks that is not necessary any longer(I think it was not necessary from the first).
-
由 ILyoan 提交于
-
由 ILyoan 提交于
-
由 ILyoan 提交于
-
由 bors 提交于
-
由 Anthony Juckel 提交于
-
由 Steve Klabnik 提交于
-
由 bors 提交于
-
由 bors 提交于
This pull request removes some mut-fields from at_vec, str, vec, unstable, and cell. Sadly in case of Cell this required using either transmute_mut (2 instances) or changing the interface. I chose the former. Perhaps it would be a good idea to merge Cell and Option, and take that opportunity to change the interface to use '&mut self' instead of '&self' (which would enable removing the transmutations) for take and put_back. r?
-
由 Brett Cannon 提交于
The sentence "Remember that `(float, float)` is a tuple of two floats" sounds like you've already read a section on tuples, but that section comes later. Changing it to "Assuming that ..." makes it more about taking the writer's word that the syntax is how tuples are defined.
-
由 bors 提交于
This naming is free now that `oldmap` has finally been removed, so this is a search-and-replace to take advantage of that. It might as well be called `HashMap` instead of being named after the specific implementation, since there's only one. SipHash distributes keys so well that I don't think there will ever be much need to use anything but a simple hash table with open addressing. If there *is* a better way to do it, it will probably be better in all cases and can just be the default implementation. A cuckoo-hashing implementation combining a weaker hash with SipHash could be useful, but that won't be as general purpose - you would need to write a separate fast hash function specialized for the type to really take advantage of it (like taking a page from libstdc++/libc++ and just using the integer value as the "hash"). I think a more specific naming for a truly alternative implementation like that would be fine, with the nice naming reserved for the general purpose container.
-
由 Steve Klabnik 提交于
-
由 Brian Anderson 提交于
-
由 Steve Klabnik 提交于
Closes #5699.
-
由 bors 提交于
Changes the parser to parse all streams into token-trees before hitting the parser proper, in preparation for hygiene. As an added bonus, it appears to speed up the parser (albeit by a totally imperceptible 1%). Also, many comments in the parser. Also, field renaming in token-trees (readme->forest, cur->stack).
-
由 Jack Moffitt 提交于
-
由 Matthijs Hofstra 提交于
-
- 03 4月, 2013 3 次提交
-
-
由 Matthijs Hofstra 提交于
-
由 Daniel Micay 提交于
-
由 Daniel Micay 提交于
-