- 11 2月, 2014 26 次提交
-
-
由 bors 提交于
This is blocking a snapshot because the stage0 target compiler comes from a stage1 host compiler. This means that the stage0 compiler doesn't actually understand the -Z prefer-dynamic flag and is dying as a result. This will get added back to stage0 after a snapshot.
-
由 bors 提交于
Fixes #12174.
-
由 bors 提交于
Removed use of globs present in earlier versions of modules. Fix tutorial.md to reflect `extra::rational` ==> `num::rational`.
-
由 bors 提交于
It could throw an error but I think it's best to not since `#[phase(..)]` syntax in other places would be silently ignored. Closes #11806
-
由 Felix S. Klock II 提交于
Removed use of globs present in earlier versions of modules. Fix tutorial.md to reflect `extra::rational` ==> `num::rational`.
-
由 bors 提交于
This resolves issue #12157. Does that do it already or is there something else that needs taking care of? As a side note, there seems to be some documentation, in which the old existence of the do keyword is explained. The list of keywords is not up-to-date either. But these are certainly separate issues.
-
由 Alex Crichton 提交于
This is blocking a snapshot because the stage0 target compiler comes from a stage1 host compiler. This means that the stage0 compiler doesn't actually understand the -Z prefer-dynamic flag and is dying as a result. This will get added back to stage0 after a snapshot.
-
由 bors 提交于
It depends on libsyntax, which is a host crate, so it can't be in the target crates section.
-
由 bors 提交于
Added a link to `fourcc` docs to the list of libraries
-
由 Kevin Ballard 提交于
Fixes #12174.
-
由 Steven Fackler 提交于
Closes #11806
-
由 bors 提交于
The field is unused.
-
由 bors 提交于
The commit accidentally modified the snapshot script which changed its behavior and is currently blocking a snapshot.
-
由 Alex Crichton 提交于
The commit accidentally modified the snapshot script which changed its behavior and is currently blocking a snapshot.
-
由 bors 提交于
(The fact that this flag has a large collection of suboptions qualifies it for an entry in the "Additional help" section.)
-
由 Eduard Bopp 提交于
Resolves issue #12157. `do` is hereby reinstated as a keyword; no syntax is associated with it though. Along the way, a unit test had to be adapted, since it was using `do` as a method identifier. Breaking changes: - Any code using `do` as an identifier will no longer work.
-
由 bors 提交于
Closes #7556. Also move ``std::util::Void`` to ``std::any::Void``. It makes more sense to me.
-
由 Edward Wang 提交于
Also move Void to std::any, move drop to std::mem and reexport in prelude.
-
由 bors 提交于
Closes #11709
-
由 Flavio Percoco 提交于
Closes #11709 Closes #11865
-
由 Alex Crichton 提交于
It depends on libsyntax, which is a host crate, so it can't be in the target crates section.
-
由 bors 提交于
This fixes the compilation failure with `./configure --disable-rpath`
-
由 bors 提交于
This is needed for cases where we only need to know if a list item matches the given predicate (eg. in Servo, we need to know if attributes from different DOM elements are equal).
-
由 Derek Guenther 提交于
-
由 bors 提交于
The current comment actually describes *co*-variance. Fixing this to describe contravariance while keeping 'static in the definition was tricky so just changed to use 'short and 'long. I found the typo in my attempt to understand the concept of variance itself and the comment confused me. I mention this to point out that I'm new to the concept so may have still got the definition wrong, so please review with care :)
-
由 Seo Sanghyeon 提交于
-
- 10 2月, 2014 14 次提交
-
-
由 Felix S. Klock II 提交于
-
由 gifnksm 提交于
-
由 bors 提交于
This is a fairly trivial (but IMHO handy) change to implement IterBytes for IpAddr and SocketAddr. I originally stumbled across this because I wanted to use a SocketAddr as a HashMap key and discovered that I couldn't do it directly. Had to impl IterBytes on a new intermediate type to work around it.
-
This is needed for cases where we only need to know if a list item matches the given predicate (eg. in Servo, we need to know if attributes from different DOM elements are equal).
-
由 Jake Kerr 提交于
The previous definition was actually describing covariance. Fixing to describe contravariance while keeping 'static in the definition was tricky so just changed to use 'short and 'long.
-
由 Tom Lee 提交于
-
由 bors 提交于
Move them all behind a new -C switch. This migrates some -Z flags and some top-level flags behind this -C codegen option. The -C flag takes values of the form "-C name=value" where the "=value" is optional for some flags. Flags affected: * --llvm-args => -C llvm-args * --passes => -C passes * --ar => -C ar * --linker => -C linker * --link-args => -C link-args * --target-cpu => -C target-cpu * --target-feature => -C target-fature * --android-cross-path => -C android-cross-path * --save-temps => -C save-temps * --no-rpath => -C no-rpath * -Z no-prepopulate => -C no-prepopulate-passes * -Z no-vectorize-loops => -C no-vectorize-loops * -Z no-vectorize-slp => -C no-vectorize-slp * -Z soft-float => -C soft-float * -Z gen-crate-map => -C gen-crate-map * -Z prefer-dynamic => -C prefer-dynamic * -Z no-integrated-as => -C no-integrated-as As a bonus, this also promotes the -Z extra-debug-info flag to a first class -g or --debuginfo flag. * -Z debug-info => removed * -Z extra-debug-info => -g or --debuginfo Closes #9770 Closes #12000
-
由 Alex Crichton 提交于
Move them all behind a new -C switch. This migrates some -Z flags and some top-level flags behind this -C codegen option. The -C flag takes values of the form "-C name=value" where the "=value" is optional for some flags. Flags affected: * --llvm-args => -C llvm-args * --passes => -C passes * --ar => -C ar * --linker => -C linker * --link-args => -C link-args * --target-cpu => -C target-cpu * --target-feature => -C target-fature * --android-cross-path => -C android-cross-path * --save-temps => -C save-temps * --no-rpath => -C no-rpath * -Z no-prepopulate => -C no-prepopulate-passes * -Z no-vectorize-loops => -C no-vectorize-loops * -Z no-vectorize-slp => -C no-vectorize-slp * -Z soft-float => -C soft-float * -Z gen-crate-map => -C gen-crate-map * -Z prefer-dynamic => -C prefer-dynamic * -Z no-integrated-as => -C no-integrated-as As a bonus, this also promotes the -Z extra-debug-info flag to a first class -g or --debuginfo flag. * -Z debug-info => removed * -Z extra-debug-info => -g or --debuginfo Closes #9770 Closes #12000
-
由 bors 提交于
Thinking about swap as an example of unsafe programming. This cleans it up a bit. It also removes type parametrization over `RawPtr` from the memcpy functions to make this compile.
-
由 bors 提交于
Closes #12123
-
由 bors 提交于
Closes #12033 IR Before: ```llvm normal-return: ; preds = %while_body %113 = load i64* %i %114 = sub i64 %113, 1 store i64 %114, i64* %i br label %while_cond ``` IR After: ```llvm normal-return: ; preds = %while_cond store i8 %11, i8* %0 %18 = load i8* %0, !range !0 call void @_ZN9Temporary9glue_drop19he4ee51d3c03b9cf4ajE(%struct.Temporary* %10) %19 = bitcast %struct.Temporary* %10 to i8* call void @_ZN2rt11global_heap14exchange_free_19h4fabdf24a2250163aj4v0.0E(i8* %19) %20 = icmp ne i8 %18, 0 br i1 %20, label %while_body, label %while_exit ```
-
由 bors 提交于
Replace ```v``` with ```ls```.
-
由 bors 提交于
This version starts with the simplest case and builds on it. I believe it flows better.
-
由 chromatic 提交于
This version starts with the simple case and builds on it.
-