Skip to content

Commit 4529eec

Browse files
committed
---
yaml --- r: 124646 b: refs/heads/try c: 80ef6b8 h: refs/heads/master v: v3
1 parent 23985ca commit 4529eec

File tree

91 files changed

+432
-3605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+432
-3605
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: f15d6d28396e8700b6c3f2704204a2769e710403
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
5-
refs/heads/try: 175f113cba6304f2b99052225435da5cc622e926
5+
refs/heads/try: 80ef6b83ef68713a255ee29b8ce326b5145e2135
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/compiletest/compiletest.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use std::io::fs;
3030
use std::from_str::FromStr;
3131
use getopts::{optopt, optflag, reqopt};
3232
use common::Config;
33-
use common::{Pretty, DebugInfoGdb, DebugInfoLldb, Codegen};
33+
use common::{Pretty, DebugInfoGdb, Codegen};
3434
use util::logv;
3535
use regex::Regex;
3636

@@ -241,16 +241,6 @@ pub fn run_tests(config: &Config) {
241241
os::setenv("RUST_TEST_TASKS","1");
242242
}
243243

244-
match config.mode {
245-
DebugInfoLldb => {
246-
// Some older versions of LLDB seem to have problems with multiple
247-
// instances running in parallel, so only run one test task at a
248-
// time.
249-
os::setenv("RUST_TEST_TASKS", "1");
250-
}
251-
_ => { /* proceed */ }
252-
}
253-
254244
let opts = test_opts(config);
255245
let tests = make_tests(config);
256246
// sadly osx needs some file descriptor limits raised for running tests in

branches/try/src/compiletest/runtest.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -536,16 +536,6 @@ fn run_debuginfo_lldb_test(config: &Config, props: &TestProps, testfile: &Path)
536536
// We don't want to hang when calling `quit` while the process is still running
537537
let mut script_str = String::from_str("settings set auto-confirm true\n");
538538

539-
// Make LLDB emit its version, so we have it documented in the test output
540-
script_str.push_str("version\n");
541-
542-
// Switch LLDB into "Rust mode"
543-
script_str.push_str("command script import ./src/etc/lldb_rust_formatters.py\n");
544-
script_str.push_str("type summary add --no-value ");
545-
script_str.push_str("--python-function lldb_rust_formatters.print_val ");
546-
script_str.push_str("-x \".*\" --category Rust\n");
547-
script_str.push_str("type category enable Rust\n");
548-
549539
// Set breakpoints on every line that contains the string "#break"
550540
for line in breakpoint_lines.iter() {
551541
script_str.push_str(format!("breakpoint set --line {}\n",

branches/try/src/etc/lldb_batchmode.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
import re
3232
import atexit
3333

34+
# Terminate the debugger
35+
atexit.register(lambda: lldb.SBDebugger.Terminate())
36+
3437
# Set this to True for additional output
3538
DEBUG_OUTPUT = False
3639

branches/try/src/etc/lldb_rust_formatters.py

Lines changed: 0 additions & 232 deletions
This file was deleted.

branches/try/src/etc/vim/doc/rust.txt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*rust.txt* Filetype plugin for Rust
22

33
==============================================================================
4-
CONTENTS *rust* *ft-rust*
4+
CONTENTS *rust*
55

66
1. Introduction |rust-intro|
77
2. Settings |rust-settings|
@@ -53,18 +53,6 @@ g:rust_conceal_pub~
5353
let g:rust_conceal_pub = 1
5454
<
5555

56-
*g:rust_fold*
57-
g:rust_fold~
58-
Set this option to turn on |folding|: >
59-
let g:rust_fold = 1
60-
<
61-
Value Effect ~
62-
0 No folding
63-
1 Braced blocks are folded. All folds are open by
64-
default.
65-
2 Braced blocks are folded. 'foldlevel' is left at the
66-
global value (all folds are closed by default).
67-
6856
*g:rust_bang_comment_leader*
6957
g:rust_bang_comment_leader~
7058
Set this option to 1 to preserve the leader on multi-line doc comments

branches/try/src/etc/vim/ftplugin/rust.vim

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Description: Vim syntax file for Rust
33
" Maintainer: Chris Morgan <[email protected]>
44
" Maintainer: Kevin Ballard <[email protected]>
5-
" Last Change: Jul 07, 2014
5+
" Last Change: May 27, 2014
66

77
if exists("b:did_ftplugin")
88
finish
@@ -35,9 +35,7 @@ silent! setlocal formatoptions+=j
3535
" otherwise it's better than nothing.
3636
setlocal smartindent nocindent
3737

38-
setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
39-
40-
setlocal textwidth=99
38+
setlocal tabstop=4 shiftwidth=4 expandtab
4139

4240
" This includeexpr isn't perfect, but it's a good start
4341
setlocal includeexpr=substitute(v:fname,'::','/','g')
@@ -95,8 +93,7 @@ endif
9593
" Cleanup {{{1
9694

9795
let b:undo_ftplugin = "
98-
\ setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd<
99-
\|setlocal tabstop< shiftwidth< softtabstop< expandtab< textwidth<
96+
\setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd<
10097
\|if exists('b:rust_original_delimitMate_excluded_regions')
10198
\|let b:delimitMate_excluded_regions = b:rust_original_delimitMate_excluded_regions
10299
\|unlet b:rust_original_delimitMate_excluded_regions

branches/try/src/etc/vim/syntax/rust.vim

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,14 @@
33
" Maintainer: Patrick Walton <[email protected]>
44
" Maintainer: Ben Blum <[email protected]>
55
" Maintainer: Chris Morgan <[email protected]>
6-
" Last Change: July 06, 2014
6+
" Last Change: 2014 Feb 27
77

88
if version < 600
99
syntax clear
1010
elseif exists("b:current_syntax")
1111
finish
1212
endif
1313

14-
" Fold settings {{{1
15-
16-
if has("folding") && exists('g:rust_fold') && g:rust_fold != 0
17-
setlocal foldmethod=syntax
18-
if g:rust_fold == 2
19-
setlocal foldlevel<
20-
else
21-
setlocal foldlevel=99
22-
endif
23-
endif
24-
2514
" Syntax definitions {{{1
2615
" Basic keywords {{{2
2716
syn keyword rustConditional match if else
@@ -224,6 +213,8 @@ syn keyword rustTodo contained TODO FIXME XXX NB NOTE
224213
" Trivial folding rules to begin with.
225214
" TODO: use the AST to make really good folding
226215
syn region rustFoldBraces start="{" end="}" transparent fold
216+
" If you wish to enable this, setlocal foldmethod=syntax
217+
" It's not enabled by default as it would drive some people mad.
227218

228219
" Default highlighting {{{1
229220
hi def link rustDecNumber rustNumber

0 commit comments

Comments
 (0)