Skip to content

Commit 887c133

Browse files
committed
---
yaml --- r: 77260 b: refs/heads/snap-stage3 c: d9b0d4b h: refs/heads/master v: v3
1 parent 0dc5c4c commit 887c133

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: f1132496dddbdd88f321a7919eec3d65136b3f75
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1f13eab3c02ee05b96f0f4bbf6fb808332d6f908
4+
refs/heads/snap-stage3: d9b0d4b60366e463ef14c757485c1849cba7d1cc
55
refs/heads/try: ebfe63cd1c0b5d23f7ea60c69b4fde2e30cfd42a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/etc/emacs/rust-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ The initializer is `DEFAULT-TAB-WIDTH'.")
229229
;; regexp (which is broken on a few edge cases), add our own 'rust
230230
;; compilation error regexp and use it instead.
231231
(defvar rustc-compilation-regexps
232-
(let ((file "\\([^\n]+\\)")
232+
(let ((file "^\\([^\n]+\\)")
233233
(start-line "\\([0-9]+\\)")
234234
(start-col "\\([0-9]+\\)")
235235
(end-line "\\([0-9]+\\)")

branches/snap-stage3/src/etc/x86.supp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,5 @@
512512
fun:uv__platform_loop_init
513513
fun:uv__loop_init
514514
fun:uv_loop_new
515-
fun:rust_uv_loop_new__c_stack_shim
516515
...
517516
}

branches/snap-stage3/src/librustpkg/rustpkg.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,8 @@ pub fn main() {
475475
pub fn main_args(args: &[~str]) {
476476
let opts = ~[getopts::optflag("h"), getopts::optflag("help"),
477477
getopts::optflag("j"), getopts::optflag("json"),
478-
getopts::optmulti("c"), getopts::optmulti("cfg")];
478+
getopts::optmulti("c"), getopts::optmulti("cfg"),
479+
getopts::optflag("v"), getopts::optflag("version")];
479480
let matches = &match getopts::getopts(args, opts) {
480481
result::Ok(m) => m,
481482
result::Err(f) => {
@@ -488,6 +489,13 @@ pub fn main_args(args: &[~str]) {
488489
getopts::opt_present(matches, "help");
489490
let json = getopts::opt_present(matches, "j") ||
490491
getopts::opt_present(matches, "json");
492+
493+
if getopts::opt_present(matches, "v") ||
494+
getopts::opt_present(matches, "version") {
495+
rustc::version(args[0]);
496+
return;
497+
}
498+
491499
let mut args = matches.free.clone();
492500

493501
args.shift();

0 commit comments

Comments
 (0)