Skip to content

Commit 59eb413

Browse files
committed
---
yaml --- r: 276335 b: refs/heads/master c: 32edf1d h: refs/heads/master i: 276333: 5e896b8 276331: 60c315b 276327: 8ded1b9 276319: 66677d7
1 parent 1fe06b3 commit 59eb413

File tree

1,738 files changed

+30512
-43056
lines changed

Some content is hidden

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

1,738 files changed

+30512
-43056
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: f4453bba956898dca58c715b0ad1a97b490ab08f
2+
refs/heads/master: 32edf1d7a81a0db65282374daf846727c8e2a8fd
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
/stage3/
7979
/test/
8080
/tmp/
81-
/obj/
8281
TAGS
8382
TAGS.emacs
8483
TAGS.vi

trunk/COMPILER_TESTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fn test_foo() {
7777
}
7878
```
7979

80-
Note that not all headers have meaning when customized to a revision.
80+
Note that not all headers have meaning when customized too a revision.
8181
For example, the `ignore-test` header (and all "ignore" headers)
8282
currently only apply to the test as a whole, not to particular
8383
revisions. The only headers that are intended to really work when

trunk/CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ which includes important information about what platform you're on, what
7171
version of Rust you're using, etc.
7272

7373
Sometimes, a backtrace is helpful, and so including that is nice. To get
74-
a backtrace, set the `RUST_BACKTRACE` environment variable to a value
75-
other than `0`. The easiest way
74+
a backtrace, set the `RUST_BACKTRACE` environment variable. The easiest way
7675
to do this is to invoke `rustc` like this:
7776

7877
```bash
@@ -307,7 +306,7 @@ are:
307306
[gsearchdocs]: https://www.google.com/search?q=site:doc.rust-lang.org+your+query+here
308307
[rif]: http://internals.rust-lang.org
309308
[rr]: https://doc.rust-lang.org/book/README.html
310-
[tlgba]: http://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
309+
[tlgba]: http://tomlee.co/2014/04/03/a-more-detailed-tour-of-the-rust-compiler/
311310
[ro]: http://www.rustaceans.org/
312311
[rctd]: ./COMPILER_TESTS.md
313312
[cheatsheet]: http://buildbot.rust-lang.org/homu/

trunk/Makefile.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@ include $(CFG_SRC_DIR)mk/debuggers.mk
214214
# Secondary makefiles, conditionalized for speed
215215
######################################################################
216216

217+
# Binary snapshots
218+
ifneq ($(strip $(findstring snap,$(MAKECMDGOALS)) \
219+
$(findstring clean,$(MAKECMDGOALS))),)
220+
CFG_INFO := $(info cfg: including snap rules)
221+
include $(CFG_SRC_DIR)mk/snap.mk
222+
endif
223+
217224
# The test suite
218225
ifneq ($(strip $(findstring check,$(MAKECMDGOALS)) \
219226
$(findstring test,$(MAKECMDGOALS)) \

trunk/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Read ["Installing Rust"] from [The Book].
1616

1717
1. Make sure you have installed the dependencies:
1818

19-
* `g++` 4.7 or later or `clang++` 3.x
19+
* `g++` 4.7 or `clang++` 3.x
2020
* `python` 2.7 (but not 3.x)
2121
* GNU `make` 3.81 or later
2222
* `curl`
@@ -177,11 +177,10 @@ To contribute to Rust, please see [CONTRIBUTING](CONTRIBUTING.md).
177177
Rust has an [IRC] culture and most real-time collaboration happens in a
178178
variety of channels on Mozilla's IRC network, irc.mozilla.org. The
179179
most popular channel is [#rust], a venue for general discussion about
180-
Rust. And a good place to ask for help would be [#rust-beginners].
180+
Rust, and a good place to ask for help.
181181
182182
[IRC]: https://en.wikipedia.org/wiki/Internet_Relay_Chat
183183
[#rust]: irc://irc.mozilla.org/rust
184-
[#rust-beginners]: irc://irc.mozilla.org/rust-beginners
185184
186185
## License
187186

trunk/RELEASES.md

Lines changed: 0 additions & 496 deletions
Large diffs are not rendered by default.

trunk/configure

Lines changed: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,6 @@ opt inject-std-version 1 "inject the current compiler version of libstd into pro
608608
opt llvm-version-check 1 "check if the LLVM version is supported, build anyway"
609609
opt rustbuild 0 "use the rust and cargo based build system"
610610
opt orbit 0 "get MIR where it belongs - everywhere; most importantly, in orbit"
611-
opt codegen-tests 1 "run the src/test/codegen tests"
612-
opt option-checking 1 "complain about unrecognized options in this configure script"
613611

614612
# Optimization and debugging options. These may be overridden by the release channel, etc.
615613
opt_nosave optimize 1 "build optimized rust code"
@@ -675,11 +673,8 @@ then
675673
fi
676674

677675
# Validate Options
678-
if [ -z "$CFG_DISABLE_OPTION_CHECKING" ]
679-
then
680-
step_msg "validating $CFG_SELF args"
681-
validate_opt
682-
fi
676+
step_msg "validating $CFG_SELF args"
677+
validate_opt
683678

684679
# Validate the release channel, and configure options
685680
case "$CFG_RELEASE_CHANNEL" in
@@ -721,6 +716,18 @@ if [ -n "$CFG_ENABLE_DEBUG_JEMALLOC" ]; then putvar CFG_ENABLE_DEBUG_JEMALLOC; f
721716

722717
if [ -n "$CFG_ENABLE_ORBIT" ]; then putvar CFG_ENABLE_ORBIT; fi
723718

719+
# A magic value that allows the compiler to use unstable features
720+
# during the bootstrap even when doing so would normally be an error
721+
# because of feature staging or because the build turns on
722+
# warnings-as-errors and unstable features default to warnings. The
723+
# build has to match this key in an env var. Meant to be a mild
724+
# deterrent from users just turning on unstable features on the stable
725+
# channel.
726+
# Basing CFG_BOOTSTRAP_KEY on CFG_BOOTSTRAP_KEY lets it get picked up
727+
# during a Makefile reconfig.
728+
CFG_BOOTSTRAP_KEY="${CFG_BOOTSTRAP_KEY-`date +%H:%M:%S`}"
729+
putvar CFG_BOOTSTRAP_KEY
730+
724731
step_msg "looking for build programs"
725732

726733
probe_need CFG_CURLORWGET curl wget
@@ -823,19 +830,6 @@ then
823830
fi
824831
fi
825832

826-
# LLDB tests on OSX require /usr/bin/python, not something like Homebrew's
827-
# /usr/local/bin/python. We're loading a compiled module for LLDB tests which is
828-
# only compatible with the system.
829-
case $CFG_BUILD in
830-
*-apple-darwin)
831-
CFG_LLDB_PYTHON=/usr/bin/python
832-
;;
833-
*)
834-
CFG_LLDB_PYTHON=$CFG_PYTHON
835-
;;
836-
esac
837-
putvar CFG_LLDB_PYTHON
838-
839833
step_msg "looking for target specific programs"
840834

841835
probe CFG_ADB adb
@@ -1258,7 +1252,7 @@ $ pacman -R cmake && pacman -S mingw-w64-x86_64-cmake
12581252
bits=x86_64
12591253
msvc_part=amd64
12601254
;;
1261-
i*86-*)
1255+
i686-*)
12621256
bits=i386
12631257
msvc_part=
12641258
;;
@@ -1453,19 +1447,6 @@ then
14531447
cd ${CFG_BUILD_DIR}
14541448
fi
14551449

1456-
# Do a sanity check that the submodule source exists. Because GitHub
1457-
# automatically publishes broken tarballs that can't be disabled, and
1458-
# people download them and try to use them.
1459-
if [ ! -e "${CFG_SRC_DIR}/src/liblibc" ]; then
1460-
err "some submodules are missing. Is this a broken tarball?
1461-
1462-
If you downloaded this tarball from the GitHub release pages at
1463-
https://github.com/rust-lang/rust/releases,
1464-
then please delete it and instead download the source from
1465-
https://www.rust-lang.org/downloads.html"
1466-
1467-
fi
1468-
14691450
# Configure llvm, only if necessary
14701451
step_msg "looking at LLVM"
14711452
CFG_LLVM_SRC_DIR=${CFG_SRC_DIR}src/llvm/
@@ -1516,9 +1497,7 @@ do
15161497
LLVM_INST_DIR=$CFG_LLVM_ROOT
15171498
do_reconfigure=0
15181499
# Check that LLVm FileCheck is available. Needed for the tests
1519-
if [ -z "$CFG_DISABLE_CODEGEN_TESTS" ]; then
1520-
need_cmd $LLVM_INST_DIR/bin/FileCheck
1521-
fi
1500+
need_cmd $LLVM_INST_DIR/bin/FileCheck
15221501
fi
15231502

15241503
if [ ${do_reconfigure} -ne 0 ]

trunk/man/rustc.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,15 +268,15 @@ the maximum number of threads used for this purpose.
268268

269269
.TP
270270
\fBRUST_TEST_NOCAPTURE\fR
271-
If set to a value other than "0", a synonym for the --nocapture flag.
271+
A synonym for the --nocapture flag.
272272

273273
.TP
274274
\fBRUST_MIN_STACK\fR
275275
Sets the minimum stack size for new threads.
276276

277277
.TP
278278
\fBRUST_BACKTRACE\fR
279-
If set to a value different than "0", produces a backtrace in the output of a program which panics.
279+
If set, produces a backtrace in the output of a program which panics.
280280

281281
.SH "EXAMPLES"
282282
To build an executable from a source file with a main function:

trunk/mk/cfg/i586-pc-windows-msvc.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# i586-pc-windows-msvc configuration
2-
CC_i586-pc-windows-msvc=$(CFG_MSVC_CL_i386)
3-
LINK_i586-pc-windows-msvc=$(CFG_MSVC_LINK_i386)
4-
CXX_i586-pc-windows-msvc=$(CFG_MSVC_CL_i386)
5-
CPP_i586-pc-windows-msvc=$(CFG_MSVC_CL_i386)
6-
AR_i586-pc-windows-msvc=$(CFG_MSVC_LIB_i386)
2+
CC_i586-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
3+
LINK_i586-pc-windows-msvc="$(CFG_MSVC_LINK_i386)" -nologo
4+
CXX_i586-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
5+
CPP_i586-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
6+
AR_i586-pc-windows-msvc="$(CFG_MSVC_LIB_i386)" -nologo
77
CFG_LIB_NAME_i586-pc-windows-msvc=$(1).dll
88
CFG_STATIC_LIB_NAME_i586-pc-windows-msvc=$(1).lib
99
CFG_LIB_GLOB_i586-pc-windows-msvc=$(1)-*.{dll,lib}
1010
CFG_LIB_DSYM_GLOB_i586-pc-windows-msvc=$(1)-*.dylib.dSYM
1111
CFG_JEMALLOC_CFLAGS_i586-pc-windows-msvc :=
12-
CFG_GCCISH_CFLAGS_i586-pc-windows-msvc := -MD -arch:IA32 -nologo
13-
CFG_GCCISH_CXXFLAGS_i586-pc-windows-msvc := -MD -arch:IA32 -nologo
12+
CFG_GCCISH_CFLAGS_i586-pc-windows-msvc := -MD -arch:IA32
13+
CFG_GCCISH_CXXFLAGS_i586-pc-windows-msvc := -MD -arch:IA32
1414
CFG_GCCISH_LINK_FLAGS_i586-pc-windows-msvc :=
1515
CFG_GCCISH_DEF_FLAG_i586-pc-windows-msvc :=
1616
CFG_LLC_FLAGS_i586-pc-windows-msvc :=

trunk/mk/cfg/i686-pc-windows-msvc.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# i686-pc-windows-msvc configuration
2-
CC_i686-pc-windows-msvc=$(CFG_MSVC_CL_i386)
3-
LINK_i686-pc-windows-msvc=$(CFG_MSVC_LINK_i386)
4-
CXX_i686-pc-windows-msvc=$(CFG_MSVC_CL_i386)
5-
CPP_i686-pc-windows-msvc=$(CFG_MSVC_CL_i386)
6-
AR_i686-pc-windows-msvc=$(CFG_MSVC_LIB_i386)
2+
CC_i686-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
3+
LINK_i686-pc-windows-msvc="$(CFG_MSVC_LINK_i386)" -nologo
4+
CXX_i686-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
5+
CPP_i686-pc-windows-msvc="$(CFG_MSVC_CL_i386)" -nologo
6+
AR_i686-pc-windows-msvc="$(CFG_MSVC_LIB_i386)" -nologo
77
CFG_LIB_NAME_i686-pc-windows-msvc=$(1).dll
88
CFG_STATIC_LIB_NAME_i686-pc-windows-msvc=$(1).lib
99
CFG_LIB_GLOB_i686-pc-windows-msvc=$(1)-*.{dll,lib}
1010
CFG_LIB_DSYM_GLOB_i686-pc-windows-msvc=$(1)-*.dylib.dSYM
1111
CFG_JEMALLOC_CFLAGS_i686-pc-windows-msvc :=
12-
CFG_GCCISH_CFLAGS_i686-pc-windows-msvc := -MD -nologo
13-
CFG_GCCISH_CXXFLAGS_i686-pc-windows-msvc := -MD -nologo
12+
CFG_GCCISH_CFLAGS_i686-pc-windows-msvc := -MD
13+
CFG_GCCISH_CXXFLAGS_i686-pc-windows-msvc := -MD
1414
CFG_GCCISH_LINK_FLAGS_i686-pc-windows-msvc :=
1515
CFG_GCCISH_DEF_FLAG_i686-pc-windows-msvc :=
1616
CFG_LLC_FLAGS_i686-pc-windows-msvc :=

trunk/mk/cfg/x86_64-pc-windows-msvc.mk

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# x86_64-pc-windows-msvc configuration
2-
CC_x86_64-pc-windows-msvc=$(CFG_MSVC_CL_x86_64)
3-
LINK_x86_64-pc-windows-msvc=$(CFG_MSVC_LINK_x86_64)
4-
CXX_x86_64-pc-windows-msvc=$(CFG_MSVC_CL_x86_64)
5-
CPP_x86_64-pc-windows-msvc=$(CFG_MSVC_CL_x86_64)
6-
AR_x86_64-pc-windows-msvc=$(CFG_MSVC_LIB_x86_64)
2+
CC_x86_64-pc-windows-msvc="$(CFG_MSVC_CL_x86_64)" -nologo
3+
LINK_x86_64-pc-windows-msvc="$(CFG_MSVC_LINK_x86_64)" -nologo
4+
CXX_x86_64-pc-windows-msvc="$(CFG_MSVC_CL_x86_64)" -nologo
5+
CPP_x86_64-pc-windows-msvc="$(CFG_MSVC_CL_x86_64)" -nologo
6+
AR_x86_64-pc-windows-msvc="$(CFG_MSVC_LIB_x86_64)" -nologo
77
CFG_LIB_NAME_x86_64-pc-windows-msvc=$(1).dll
88
CFG_STATIC_LIB_NAME_x86_64-pc-windows-msvc=$(1).lib
99
CFG_LIB_GLOB_x86_64-pc-windows-msvc=$(1)-*.{dll,lib}
1010
CFG_LIB_DSYM_GLOB_x86_64-pc-windows-msvc=$(1)-*.dylib.dSYM
1111
CFG_JEMALLOC_CFLAGS_x86_64-pc-windows-msvc :=
12-
CFG_GCCISH_CFLAGS_x86_64-pc-windows-msvc := -MD -nologo
13-
CFG_GCCISH_CXXFLAGS_x86_64-pc-windows-msvc := -MD -nologo
12+
CFG_GCCISH_CFLAGS_x86_64-pc-windows-msvc := -MD
13+
CFG_GCCISH_CXXFLAGS_x86_64-pc-windows-msvc := -MD
1414
CFG_GCCISH_LINK_FLAGS_x86_64-pc-windows-msvc :=
1515
CFG_GCCISH_DEF_FLAG_x86_64-pc-windows-msvc :=
1616
CFG_LLC_FLAGS_x86_64-pc-windows-msvc :=

trunk/mk/crates.mk

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,11 @@ TARGET_CRATES := libc std term \
5353
getopts collections test rand \
5454
core alloc \
5555
rustc_unicode rustc_bitflags \
56-
alloc_system alloc_jemalloc
56+
alloc_system alloc_jemalloc rustc_const_eval
5757
RUSTC_CRATES := rustc rustc_typeck rustc_mir rustc_borrowck rustc_resolve rustc_driver \
5858
rustc_trans rustc_back rustc_llvm rustc_privacy rustc_lint \
59-
rustc_data_structures rustc_platform_intrinsics \
60-
rustc_plugin rustc_metadata rustc_passes rustc_save_analysis \
61-
rustc_const_eval rustc_const_math rustc_incremental
59+
rustc_data_structures rustc_front rustc_platform_intrinsics \
60+
rustc_plugin rustc_metadata rustc_passes rustc_save_analysis
6261
HOST_CRATES := syntax syntax_ext $(RUSTC_CRATES) rustdoc fmt_macros \
6362
flate arena graphviz rbml log serialize
6463
TOOLS := compiletest rustdoc rustc rustbook error_index_generator
@@ -92,48 +91,44 @@ DEPS_test := std getopts term native:rust_test_helpers
9291
DEPS_syntax := std term serialize log arena libc rustc_bitflags rustc_unicode
9392
DEPS_syntax_ext := syntax fmt_macros
9493

95-
DEPS_rustc_const_math := std syntax log serialize
96-
DEPS_rustc_const_eval := rustc_const_math rustc syntax log serialize \
97-
rustc_back graphviz
94+
DEPS_rustc_const_eval := std syntax
9895

99-
DEPS_rustc := syntax fmt_macros flate arena serialize getopts rbml \
96+
DEPS_rustc := syntax fmt_macros flate arena serialize getopts rbml rustc_front\
10097
log graphviz rustc_llvm rustc_back rustc_data_structures\
101-
rustc_const_math
102-
DEPS_rustc_back := std syntax flate log libc
103-
DEPS_rustc_borrowck := rustc rustc_mir log graphviz syntax
98+
rustc_const_eval
99+
DEPS_rustc_back := std syntax rustc_llvm rustc_front flate log libc
100+
DEPS_rustc_borrowck := rustc rustc_front rustc_mir log graphviz syntax
104101
DEPS_rustc_data_structures := std log serialize
105102
DEPS_rustc_driver := arena flate getopts graphviz libc rustc rustc_back rustc_borrowck \
106103
rustc_typeck rustc_mir rustc_resolve log syntax serialize rustc_llvm \
107-
rustc_trans rustc_privacy rustc_lint rustc_plugin \
108-
rustc_metadata syntax_ext rustc_passes rustc_save_analysis rustc_const_eval \
109-
rustc_incremental
110-
DEPS_rustc_lint := rustc log syntax rustc_const_eval
104+
rustc_trans rustc_privacy rustc_lint rustc_front rustc_plugin \
105+
rustc_metadata syntax_ext rustc_passes rustc_save_analysis
106+
DEPS_rustc_front := std syntax log serialize
107+
DEPS_rustc_lint := rustc log syntax
111108
DEPS_rustc_llvm := native:rustllvm libc std rustc_bitflags
112-
DEPS_rustc_metadata := rustc syntax rbml rustc_const_math
113-
DEPS_rustc_passes := syntax rustc core rustc_const_eval
114-
DEPS_rustc_mir := rustc syntax rustc_const_math rustc_const_eval
115-
DEPS_rustc_resolve := arena rustc log syntax
116-
DEPS_rustc_platform_intrinsics := std
109+
DEPS_rustc_metadata := rustc rustc_front syntax rbml rustc_const_eval
110+
DEPS_rustc_passes := syntax rustc core rustc_front
111+
DEPS_rustc_mir := rustc rustc_front syntax rustc_const_eval
112+
DEPS_rustc_resolve := arena rustc rustc_front log syntax
113+
DEPS_rustc_platform_intrinsics := rustc rustc_llvm
117114
DEPS_rustc_plugin := rustc rustc_metadata syntax rustc_mir
118-
DEPS_rustc_privacy := rustc log syntax
115+
DEPS_rustc_privacy := rustc rustc_front log syntax
119116
DEPS_rustc_trans := arena flate getopts graphviz libc rustc rustc_back rustc_mir \
120-
log syntax serialize rustc_llvm rustc_platform_intrinsics \
121-
rustc_const_math rustc_const_eval rustc_incremental
122-
DEPS_rustc_incremental := rbml rustc serialize rustc_data_structures
123-
DEPS_rustc_save_analysis := rustc log syntax serialize
124-
DEPS_rustc_typeck := rustc syntax rustc_platform_intrinsics rustc_const_math \
125-
rustc_const_eval
117+
log syntax serialize rustc_llvm rustc_front rustc_platform_intrinsics \
118+
rustc_const_eval
119+
DEPS_rustc_save_analysis := rustc log syntax rustc_front
120+
DEPS_rustc_typeck := rustc syntax rustc_front rustc_platform_intrinsics rustc_const_eval
126121

127122
DEPS_rustdoc := rustc rustc_driver native:hoedown serialize getopts \
128-
test rustc_lint rustc_const_eval
123+
test rustc_lint rustc_front
129124

130125

131-
TOOL_DEPS_compiletest := test getopts log serialize
126+
TOOL_DEPS_compiletest := test getopts log
132127
TOOL_DEPS_rustdoc := rustdoc
133128
TOOL_DEPS_rustc := rustc_driver
134129
TOOL_DEPS_rustbook := std rustdoc
135130
TOOL_DEPS_error_index_generator := rustdoc syntax serialize
136-
TOOL_SOURCE_compiletest := $(S)src/tools/compiletest/src/main.rs
131+
TOOL_SOURCE_compiletest := $(S)src/compiletest/compiletest.rs
137132
TOOL_SOURCE_rustdoc := $(S)src/driver/driver.rs
138133
TOOL_SOURCE_rustc := $(S)src/driver/driver.rs
139134
TOOL_SOURCE_rustbook := $(S)src/tools/rustbook/main.rs

trunk/mk/ctags.mk

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,14 @@
1515

1616
.PHONY: TAGS.emacs TAGS.vi
1717

18-
CTAGS_RUSTC_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/lib%test,, \
19-
$(wildcard ${CFG_SRC_DIR}src/lib*)) ${CFG_SRC_DIR}src/libtest
18+
CTAGS_LOCATIONS=$(wildcard ${CFG_SRC_DIR}src/lib*)
2019
CTAGS_LOCATIONS=$(patsubst ${CFG_SRC_DIR}src/librust%,, \
2120
$(patsubst ${CFG_SRC_DIR}src/lib%test,, \
2221
$(wildcard ${CFG_SRC_DIR}src/lib*))) ${CFG_SRC_DIR}src/libtest
23-
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse
24-
25-
TAGS.rustc.emacs:
26-
ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
22+
CTAGS_OPTS=--options="${CFG_SRC_DIR}src/etc/ctags.rust" --languages=Rust --recurse ${CTAGS_LOCATIONS}
2723

2824
TAGS.emacs:
29-
ctags -e -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
30-
31-
TAGS.rustc.vi:
32-
ctags -f $@ ${CTAGS_OPTS} ${CTAGS_RUSTC_LOCATIONS}
25+
ctags -e -f $@ ${CTAGS_OPTS}
3326

3427
TAGS.vi:
35-
ctags -f $@ ${CTAGS_OPTS} ${CTAGS_LOCATIONS}
28+
ctags -f $@ ${CTAGS_OPTS}

0 commit comments

Comments
 (0)