Skip to content

Commit d4c9335

Browse files
committed
---
yaml --- r: 236492 b: refs/heads/auto c: 9b97264 h: refs/heads/master v: v3
1 parent 5ab51dd commit d4c9335

File tree

439 files changed

+4272
-6954
lines changed

Some content is hidden

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

439 files changed

+4272
-6954
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: dde7283b807792dab4b2a10bace9b015a28aea02
11+
refs/heads/auto: 9b97264d81bfb39f55d645f5c1cccb790dfd9d58
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/COMPILER_TESTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Compiler Test Documentation
22

3-
In the Rust project, we use a special set of comands embedded in
3+
In the Rust project, we use a special set of comands imbedded in
44
comments to test the Rust compiler. There are two groups of commands:
55

66
1. Header commands
@@ -29,11 +29,11 @@ The error levels that you can have are:
2929
3. `NOTE`
3030
4. `HELP` and `SUGGESTION`*
3131

32-
\* **Note**: `SUGGESTION` must follow immediately after `HELP`.
32+
\* **Note**: `SUGGESTION` must follow emediatly after `HELP`.
3333

3434
## Summary of Header Commands
3535

36-
Header commands specify something about the entire test file as a
36+
Header commands specify something about the entire test file, as a
3737
whole, instead of just a few lines inside the test.
3838

3939
* `ignore-X` where `X` is an architecture, OS or stage will ignore the test accordingly

branches/auto/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
# * check - Run the complete test suite
2828
#
29-
# * clean - Clean the build repository. It is advised to run this
29+
# * clean - Clean the build repertory. It is advised to run this
3030
# command if you want to build Rust again, after an update
3131
# of the git repository.
3232
#

branches/auto/RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Version 1.3.0 (2015-09-17)
1+
Version 1.3.0 (September 2015)
22
==============================
33

44
* ~900 changes, numerous bugfixes

branches/auto/configure

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,12 +1095,6 @@ envopt CPP
10951095
envopt CFLAGS
10961096
envopt CXXFLAGS
10971097

1098-
# stdc++ name in use
1099-
# used to manage non-standard name (on OpenBSD for example)
1100-
program_transform_name=$($CFG_CC -v 2>&1 | sed -n "s/.*--program-transform-name='\([^']*\)'.*/\1/p")
1101-
CFG_STDCPP_NAME=$(echo "stdc++" | sed "${program_transform_name}")
1102-
putvar CFG_STDCPP_NAME
1103-
11041098
# a little post-processing of various config values
11051099
CFG_PREFIX=${CFG_PREFIX%/}
11061100
CFG_MANDIR=${CFG_MANDIR%/}
@@ -1295,12 +1289,6 @@ $ pacman -R cmake && pacman -S mingw-w64-x86_64-cmake
12951289
putvar CFG_MSVC_LIB_PATH_${bits}
12961290
;;
12971291

1298-
*-rumprun-netbsd)
1299-
step_msg "targeting rumprun-netbsd, disabling jemalloc"
1300-
CFG_DISABLE_JEMALLOC=1
1301-
putvar CFG_DISABLE_JEMALLOC
1302-
;;
1303-
13041292
*)
13051293
;;
13061294
esac

branches/auto/mk/cfg/x86_64-rumprun-netbsd.mk

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

branches/auto/mk/cfg/x86_64-unknown-netbsd.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# x86_64-unknown-netbsd configuration
2-
CROSS_PREFIX_x86_64-unknown-netbsd=x86_64-unknown-netbsd-
32
CC_x86_64-unknown-netbsd=$(CC)
43
CXX_x86_64-unknown-netbsd=$(CXX)
54
CPP_x86_64-unknown-netbsd=$(CPP)

branches/auto/mk/dist.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ $(PKG_TAR): $(PKG_FILES)
7777
-C $(S) \
7878
--exclude-vcs \
7979
--exclude=*~ \
80-
--exclude=*.pyc \
8180
--exclude=*/llvm/test/*/*.ll \
8281
--exclude=*/llvm/test/*/*.td \
8382
--exclude=*/llvm/test/*/*.s \

branches/auto/mk/grammar.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ check-lexer: $(BG) $(BG)RustLexer.class check-build-lexer-verifier
5858
$(Q)$(SG)check.sh $(S) "$(BG)" \
5959
"$(CFG_GRUN)" "$(BG)verify" "$(BG)RustLexer.tokens"
6060
else
61-
$(info cfg: lexer tooling not available, skipping lexer test...)
61+
$(info cfg: grun not available, skipping lexer test...)
6262
check-lexer:
6363

6464
endif
6565
else
66-
$(info cfg: lexer tooling not available, skipping lexer test...)
66+
$(info cfg: antlr4 not available, skipping lexer test...)
6767
check-lexer:
6868

6969
endif
7070
else
71-
$(info cfg: lexer tooling not available, skipping lexer test...)
71+
$(info cfg: javac not available, skipping lexer test...)
7272
check-lexer:
7373

7474
endif

branches/auto/mk/llvm.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ $$(LLVM_STAMP_$(1)): $(S)src/rustllvm/llvm-auto-clean-trigger
7373

7474
ifeq ($$(CFG_ENABLE_LLVM_STATIC_STDCPP),1)
7575
LLVM_STDCPP_RUSTFLAGS_$(1) = -L "$$(dir $$(shell $$(CC_$(1)) $$(CFG_GCCISH_CFLAGS_$(1)) \
76-
-print-file-name=lib$(CFG_STDCPP_NAME).a))"
76+
-print-file-name=libstdc++.a))"
7777
else
7878
LLVM_STDCPP_RUSTFLAGS_$(1) =
7979
endif
@@ -83,7 +83,7 @@ endif
8383
LLVM_LINKAGE_PATH_$(1):=$$(abspath $$(RT_OUTPUT_DIR_$(1))/llvmdeps.rs)
8484
$$(LLVM_LINKAGE_PATH_$(1)): $(S)src/etc/mklldeps.py $$(LLVM_CONFIG_$(1))
8585
$(Q)$(CFG_PYTHON) "$$<" "$$@" "$$(LLVM_COMPONENTS)" "$$(CFG_ENABLE_LLVM_STATIC_STDCPP)" \
86-
$$(LLVM_CONFIG_$(1)) "$(CFG_STDCPP_NAME)"
86+
$$(LLVM_CONFIG_$(1))
8787
endef
8888

8989
$(foreach host,$(CFG_HOST), \

branches/auto/mk/platform.mk

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ define CFG_MAKE_TOOLCHAIN
208208

209209
ifeq ($$(findstring $(HOST_$(1)),arm aarch64 mips mipsel powerpc),)
210210

211-
# On OpenBSD, we need to pass the path of libstdc++.so to the linker
212-
# (use path of libstdc++.a which is a known name for the same path)
213-
ifeq ($(OSTYPE_$(1)),unknown-openbsd)
214-
RUSTC_FLAGS_$(1)=-L "$$(dir $$(shell $$(CC_$(1)) $$(CFG_GCCISH_CFLAGS_$(1)) \
215-
-print-file-name=lib$(CFG_STDCPP_NAME).a))" \
216-
$(RUSTC_FLAGS_$(1))
217-
endif
218-
219211
# On Bitrig, we need the relocation model to be PIC for everything
220212
ifeq (,$(filter $(OSTYPE_$(1)),bitrig))
221213
LLVM_MC_RELOCATION_MODEL="pic"

branches/auto/src/compiletest/compiletest.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ fn extract_gdb_version(full_version_line: Option<String>) -> Option<String> {
348348
if !full_version_line.trim().is_empty() => {
349349
let full_version_line = full_version_line.trim();
350350

351-
// used to be a regex "(^|[^0-9])([0-9]\.[0-9]+)"
351+
// used to be a regex "(^|[^0-9])([0-9]\.[0-9])([^0-9]|$)"
352352
for (pos, c) in full_version_line.char_indices() {
353353
if !c.is_digit(10) { continue }
354354
if pos + 2 >= full_version_line.len() { continue }
@@ -357,12 +357,11 @@ fn extract_gdb_version(full_version_line: Option<String>) -> Option<String> {
357357
if pos > 0 && full_version_line.char_at_reverse(pos).is_digit(10) {
358358
continue
359359
}
360-
let mut end = pos + 3;
361-
while end < full_version_line.len() &&
362-
full_version_line.char_at(end).is_digit(10) {
363-
end += 1;
360+
if pos + 3 < full_version_line.len() &&
361+
full_version_line.char_at(pos + 3).is_digit(10) {
362+
continue
364363
}
365-
return Some(full_version_line[pos..end].to_owned());
364+
return Some(full_version_line[pos..pos+3].to_owned());
366365
}
367366
println!("Could not extract GDB version from line '{}'",
368367
full_version_line);

branches/auto/src/compiletest/runtest.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,8 @@ fn compile_test_and_save_ir(config: &Config, props: &TestProps,
16691669
// FIXME (#9639): This needs to handle non-utf8 paths
16701670
let mut link_args = vec!("-L".to_owned(),
16711671
aux_dir.to_str().unwrap().to_owned());
1672-
let llvm_args = vec!("--emit=llvm-ir".to_owned(),);
1672+
let llvm_args = vec!("--emit=llvm-ir".to_owned(),
1673+
"--crate-type=lib".to_owned());
16731674
link_args.extend(llvm_args);
16741675
let args = make_compile_args(config,
16751676
props,

branches/auto/src/doc/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
## Building
44

5-
To generate all the docs, follow the "Building Documentation" instructions in
6-
the README in the root of the repository. This will convert the distributed
7-
Markdown docs to HTML and generate HTML doc for the books, 'std' and 'extra'
8-
libraries.
5+
To generate all the docs, just run `make docs` from the root of the repository.
6+
This will convert the distributed Markdown docs to HTML and generate HTML doc
7+
for the 'std' and 'extra' libraries.
98

109
To generate HTML documentation from one source file/crate, do something like:
1110

branches/auto/src/doc/complement-project-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Existing languages at this level of abstraction and efficiency are unsatisfactor
2222

2323
# Is any part of this thing production-ready?
2424

25-
Yes!
25+
No. Feel free to play around, but don't expect completeness or stability yet. Expect incompleteness and breakage.
2626

2727
# Is this a completely Mozilla-planned and orchestrated thing?
2828

branches/auto/src/doc/grammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ provides only one kind of material:
99

1010
This document does not serve as an introduction to the language. Background
1111
familiarity with the language is assumed. A separate [guide] is available to
12-
help acquire such background.
12+
help acquire such background familiarity.
1313

1414
This document also does not serve as a reference to the [standard] library
1515
included in the language distribution. Those libraries are documented

0 commit comments

Comments
 (0)