Skip to content

Commit 74dd511

Browse files
committed
---
yaml --- r: 145405 b: refs/heads/try2 c: 426ad12 h: refs/heads/master i: 145403: 5f09b5f v: v3
1 parent 847f98c commit 74dd511

File tree

251 files changed

+10926
-3824
lines changed

Some content is hidden

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

251 files changed

+10926
-3824
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: c7e672602e5ce0926a189e4b6c1f38e6d52a29d1
8+
refs/heads/try2: 426ad12671d41d79552ad69c3e0db6abf9ad4834
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/Makefile.in

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,12 @@ else
100100
CFG_RUSTC_FLAGS += -O --cfg rtopt
101101
endif
102102

103-
ifdef CFG_DISABLE_DEBUG
104-
CFG_RUSTC_FLAGS += --cfg ndebug
105-
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
106-
else
103+
ifdef CFG_ENABLE_DEBUG
107104
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
108-
CFG_RUSTC_FLAGS += --cfg debug
109105
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
106+
else
107+
CFG_RUSTC_FLAGS += --cfg ndebug
108+
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
110109
endif
111110

112111
ifdef SAVE_TEMPS
@@ -215,6 +214,7 @@ CFG_LIBRUSTC_$(1) :=$(call CFG_LIB_NAME_$(1),rustc)
215214
CFG_LIBSYNTAX_$(1) :=$(call CFG_LIB_NAME_$(1),syntax)
216215
CFG_LIBRUSTPKG_$(1) :=$(call CFG_LIB_NAME_$(1),rustpkg)
217216
CFG_LIBRUSTDOC_$(1) :=$(call CFG_LIB_NAME_$(1),rustdoc)
217+
CFG_LIBRUSTDOCNG_$(1) :=$(call CFG_LIB_NAME_$(1),rustdoc_ng)
218218
CFG_LIBRUSTI_$(1) :=$(call CFG_LIB_NAME_$(1),rusti)
219219
CFG_LIBRUST_$(1) :=$(call CFG_LIB_NAME_$(1),rust)
220220

@@ -224,6 +224,7 @@ LIBRUSTC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustc)
224224
LIBSYNTAX_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),syntax)
225225
LIBRUSTPKG_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustpkg)
226226
LIBRUSTDOC_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustdoc)
227+
LIBRUSTDOCNG_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rustdoc_ng)
227228
LIBRUSTI_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rusti)
228229
LIBRUST_GLOB_$(1) :=$(call CFG_LIB_GLOB_$(1),rust)
229230
EXTRALIB_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),extra)
@@ -232,6 +233,7 @@ LIBRUSTC_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustc)
232233
LIBSYNTAX_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),syntax)
233234
LIBRUSTPKG_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustpkg)
234235
LIBRUSTDOC_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustdoc)
236+
LIBRUSTDOCNG_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rustdoc_ng)
235237
LIBRUSTI_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rusti)
236238
LIBRUST_DSYM_GLOB_$(1) :=$(call CFG_LIB_DSYM_GLOB_$(1),rust)
237239

@@ -440,10 +442,12 @@ CSREQ$(1)_T_$(2)_H_$(3) = \
440442
$$(TSREQ$(1)_T_$(2)_H_$(3)) \
441443
$$(HBIN$(1)_H_$(3))/rustpkg$$(X_$(3)) \
442444
$$(HBIN$(1)_H_$(3))/rustdoc$$(X_$(3)) \
445+
$$(HBIN$(1)_H_$(3))/rustdoc_ng$$(X_$(3)) \
443446
$$(HBIN$(1)_H_$(3))/rusti$$(X_$(3)) \
444447
$$(HBIN$(1)_H_$(3))/rust$$(X_$(3)) \
445448
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTPKG_$(3)) \
446449
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTDOC_$(3)) \
450+
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTDOCNG_$(3)) \
447451
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUSTI_$(3)) \
448452
$$(HLIB$(1)_H_$(3))/$(CFG_LIBRUST_$(3)) \
449453
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2)) \
@@ -452,6 +456,7 @@ CSREQ$(1)_T_$(2)_H_$(3) = \
452456
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTC_$(2)) \
453457
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTPKG_$(2)) \
454458
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTDOC_$(2)) \
459+
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTDOCNG_$(2)) \
455460
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTI_$(2)) \
456461
$$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUST_$(2))
457462

branches/try2/RELEASES.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Version 0.8 (October 2013)
3131
* `ref` bindings in irrefutable patterns work correctly now.
3232
* `char` is now prevented from containing invalid code points.
3333
* Casting to `bool` is no longer allowed.
34-
* `\0` is now accepted as an escape in chars and strings.
3534
* `yield` is a reserved keyword.
3635
* `typeof` is a reserved keyword.
3736
* Crates may be imported by URL with `extern mod foo = "url";`.
@@ -112,9 +111,6 @@ Version 0.8 (October 2013)
112111
the `MutableSet` and `MutableMap` traits. `Container::is_empty`,
113112
`Map::contains_key`, `MutableMap::insert`, and `MutableMap::remove` have
114113
default implementations.
115-
* std: Various `from_str` functions were removed in favor of a generic
116-
`from_str` which is available in the prelude.
117-
* std: `util::unreachable` removed in favor of the `unreachable!` macro.
118114
* extra: `dlist`, the doubly-linked list was modernized.
119115
* extra: Added a `hex` module with `ToHex` and `FromHex` traits.
120116
* extra: Added `glob` module, replacing `std::os::glob`.
@@ -129,9 +125,6 @@ Version 0.8 (October 2013)
129125
* extra: `semver` updated to SemVer 2.0.0.
130126
* extra: `term` handles more terminals correctly.
131127
* extra: `dbg` module removed.
132-
* extra: `par` module removed.
133-
* extra: `future` was cleaned up, with some method renames.
134-
* extra: Most free functions in `getopts` were converted to methods.
135128

136129
* Other
137130
* rustc's debug info generation (`-Z debug-info`) is greatly improved.
@@ -150,8 +143,7 @@ Version 0.8 (October 2013)
150143
* The runtime uses jemalloc for allocations.
151144
* Segmented stacks are temporarily disabled as part of the transition to
152145
the new runtime. Stack overflows are possible!
153-
* A new documentation backend, rustdoc_ng, is available for use. It is
154-
still invoked through the normal `rustdoc` command.
146+
* A new documentation backend, rustdoc_ng, is available for use
155147

156148
Version 0.7 (July 2013)
157149
-----------------------
@@ -212,7 +204,6 @@ Version 0.7 (July 2013)
212204
* std: Many old internal vector and string iterators,
213205
incl. `any`, `all`. removed.
214206
* std: The `finalize` method of `Drop` renamed to `drop`.
215-
* std: The `drop` method now takes `&mut self` instead of `&self`.
216207
* std: The prelude no longer reexports any modules, only types and traits.
217208
* std: Prelude additions: `print`, `println`, `FromStr`, `ApproxEq`, `Equiv`,
218209
`Iterator`, `IteratorUtil`, many numeric traits, many tuple traits.

branches/try2/doc/tutorial-rustpkg.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package up your Rust code and share it with other people. This tutorial will
77
get you started on all of the concepts and commands you need to give the gift
88
of Rust code to someone else.
99

10-
# Installing External Packages
10+
## Installing External Packages
1111

1212
First, let's try to use an external package somehow. I've made a sample package
1313
called `hello` to demonstrate how to do so. Here's how `hello` is used:
@@ -68,7 +68,7 @@ Hello, world.
6868

6969
Simple! That's all it takes.
7070

71-
# Workspaces
71+
## Workspaces
7272

7373
Before we can talk about how to make packages of your own, you have to
7474
understand the big concept with `rustpkg`: workspaces. A 'workspace' is simply
@@ -88,14 +88,14 @@ There are also default file names you'll want to follow as well:
8888
* `main.rs`: A file that's going to become an executable.
8989
* `lib.rs`: A file that's going to become a library.
9090

91-
# Building your own Package
91+
## Building your own Package
9292

9393
Now that you've got workspaces down, let's build your own copy of `hello`. Go
9494
to wherever you keep your personal projects, and let's make all of the
9595
directories we'll need. I'll refer to this personal project directory as
9696
`~/src` for the rest of this tutorial.
9797

98-
## Creating our workspace
98+
### Creating our workspace
9999

100100
~~~ {.notrust}
101101
$ cd ~/src
@@ -150,15 +150,15 @@ pub fn world() {
150150

151151
Put this into `src/hello/lib.rs`. Let's talk about each of these attributes:
152152

153-
## Crate attributes for packages
153+
### Crate attributes for packages
154154

155155
`license` is equally simple: the license we want this code to have. I chose MIT
156156
here, but you should pick whatever license makes the most sense for you.
157157

158158
`desc` is a description of the package and what it does. This should just be a
159159
sentence or two.
160160

161-
## Building your package
161+
### Building your package
162162

163163
Building your package is simple:
164164

@@ -206,7 +206,7 @@ note: Installed package github.com/YOUR_USERNAME/hello-0.1 to /home/yourusername
206206

207207
That's it!
208208

209-
# More resources
209+
## More resources
210210

211211
There's a lot more going on with `rustpkg`, this is just to get you started.
212212
Check out [the rustpkg manual](rustpkg.html) for the full details on how to

branches/try2/doc/tutorial-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ do_some_work();
423423
While it isn't possible for a task to recover from failure, tasks may notify
424424
each other of failure. The simplest way of handling task failure is with the
425425
`try` function, which is similar to `spawn`, but immediately blocks waiting
426-
for the child task to finish. `try` returns a value of type `Result<T,
426+
for the child task to finish. `try` returns a value of type `Result<int,
427427
()>`. `Result` is an `enum` type with two variants: `Ok` and `Err`. In this
428428
case, because the type arguments to `Result` are `int` and `()`, callers can
429429
pattern-match on a result to check whether it's an `Ok` result with an `int`

branches/try2/doc/tutorial.md

Lines changed: 43 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,6 +1469,34 @@ cannot be stored in data structures or returned from
14691469
functions. Despite these limitations, stack closures are used
14701470
pervasively in Rust code.
14711471

1472+
## Managed closures
1473+
1474+
When you need to store a closure in a data structure, a stack closure
1475+
will not do, since the compiler will refuse to let you store it. For
1476+
this purpose, Rust provides a type of closure that has an arbitrary
1477+
lifetime, written `@fn` (boxed closure, analogous to the `@` pointer
1478+
type described earlier). This type of closure *is* first-class.
1479+
1480+
A managed closure does not directly access its environment, but merely
1481+
copies out the values that it closes over into a private data
1482+
structure. This means that it can not assign to these variables, and
1483+
cannot observe updates to them.
1484+
1485+
This code creates a closure that adds a given string to its argument,
1486+
returns it from a function, and then calls it:
1487+
1488+
~~~~
1489+
fn mk_appender(suffix: ~str) -> @fn(~str) -> ~str {
1490+
// The compiler knows that we intend this closure to be of type @fn
1491+
return |s| s + suffix;
1492+
}
1493+
1494+
fn main() {
1495+
let shout = mk_appender(~"!");
1496+
println(shout(~"hey ho, let's go"));
1497+
}
1498+
~~~~
1499+
14721500
## Owned closures
14731501

14741502
Owned closures, written `~fn` in analogy to the `~` pointer type,
@@ -2392,8 +2420,7 @@ However, in practice you usually want to split you code up into multiple source
23922420
In order to do that, Rust allows you to move the body of any module into it's own source file, which works like this:
23932421

23942422
If you declare a module without its body, like `mod foo;`, the compiler will look for the
2395-
files `foo.rs` and `foo/mod.rs` inside some directory (usually the same as of the source file containing
2396-
the `mod foo;`). If it finds either, it uses the content of that file as the body of the module.
2423+
files `foo.rs` and `foo/mod.rs`. If it finds either, it uses the content of that file as the body of the module.
23972424
If it finds both, that's a compile error.
23982425

23992426
So, if we want to move the content of `mod farm` into it's own file, it would look like this:
@@ -2419,7 +2446,7 @@ pub mod barn {
24192446
# fn main() { }
24202447
~~~~
24212448

2422-
In short, `mod foo;` is just syntactic sugar for `mod foo { /* content of <...>/foo.rs or <...>/foo/mod.rs */ }`.
2449+
So, in short `mod foo;` is just syntactic sugar for `mod foo { /* include content of foo.rs or foo/mod.rs here */ }`.
24232450

24242451
This also means that having two or more identical `mod foo;` somewhere
24252452
in your crate hierarchy is generally a bad idea,
@@ -2428,14 +2455,14 @@ Both will result in duplicate and mutually incompatible definitions.
24282455

24292456
The directory the compiler looks in for those two files is determined by starting with
24302457
the same directory as the source file that contains the `mod foo;` declaration, and concatenating to that a
2431-
path equivalent to the relative path of all nested `mod { ... }` declarations the `mod foo;`
2432-
is contained in, if any.
2458+
path equivalent to the relative path of all nested `mod { ... }` declarations the `mod foo;` is contained in, if any.
24332459

24342460
For example, given a file with this module body:
24352461

24362462
~~~ {.ignore}
24372463
// src/main.rs
24382464
mod plants;
2465+
mod fungi;
24392466
mod animals {
24402467
mod fish;
24412468
mod mammals {
@@ -2450,61 +2477,25 @@ The compiler would then try all these files:
24502477
src/plants.rs
24512478
src/plants/mod.rs
24522479
2480+
src/fungi.rs
2481+
src/fungi/mod.rs
2482+
24532483
src/animals/fish.rs
24542484
src/animals/fish/mod.rs
24552485
24562486
src/animals/mammals/humans.rs
24572487
src/animals/mammals/humans/mod.rs
24582488
~~~
24592489

2460-
Keep in mind that identical module hierachies can still lead to different path lookups
2461-
depending on how and where you've moved a module body to its own file.
2462-
For example, if we move the `animals` module above into its own file...
2463-
2464-
~~~ {.ignore}
2465-
// src/main.rs
2466-
mod plants;
2467-
mod animals;
2468-
~~~
2469-
~~~ {.ignore}
2470-
// src/animals.rs or src/animals/mod.rs
2471-
mod fish;
2472-
mod mammals {
2473-
mod humans;
2474-
}
2475-
~~~
2476-
...then the source files of `mod animals`'s submodules can
2477-
either be placed right next to that of its parents, or in a subdirectory if `animals` source file is:
2478-
2479-
~~~ {.notrust}
2480-
src/plants.rs
2481-
src/plants/mod.rs
2482-
2483-
src/animals.rs - if file sits next to that of parent module's:
2484-
src/fish.rs
2485-
src/fish/mod.rs
2486-
2487-
src/mammals/humans.rs
2488-
src/mammals/humans/mod.rs
2489-
2490-
src/animals/mod.rs - if file is in it's own subdirectory:
2491-
src/animals/fish.rs
2492-
src/animals/fish/mod.rs
2493-
2494-
src/animals/mammals/humans.rs
2495-
src/animals/mammals/humans/mod.rs
2496-
2497-
~~~
2498-
2499-
These rules allow you to have both small modules that only need
2500-
to consist of one source file each and can be conveniently placed right next to each other,
2501-
and big complicated modules that group the source files of submodules in subdirectories.
2490+
These rules per default result in any directory structure mirroring
2491+
the crates's module hierarchy, and allow you to have both small modules that only need
2492+
to consist of one source file, and big modules that group the source files of submodules together.
25022493

2503-
If you need to circumvent the defaults, you can also overwrite the path a `mod foo;` would take:
2494+
If you need to circumvent those defaults, you can also overwrite the path a `mod foo;` would take:
25042495

25052496
~~~ {.ignore}
2506-
#[path="../../area51/alien.rs"]
2507-
mod classified;
2497+
#[path="../../area51/classified.rs"]
2498+
mod alien;
25082499
~~~
25092500

25102501
## Importing names into the local scope
@@ -2664,7 +2655,7 @@ fn main() {
26642655

26652656
In general, `use` creates an local alias:
26662657
An alternate path and a possibly different name to access the same item,
2667-
without touching the original, and with both being interchangeable.
2658+
whiteout touching the original, and with both being interchangeable.
26682659

26692660
## Reexporting names
26702661

@@ -2995,7 +2986,7 @@ There is further documentation on the [wiki], however those tend to be even more
29952986
[tasks]: tutorial-tasks.html
29962987
[macros]: tutorial-macros.html
29972988
[ffi]: tutorial-ffi.html
2998-
[rustpkg]: tutorial-rustpkg.html
2989+
[rustpkg]: rustpkg.html
29992990

30002991
[wiki]: https://github.com/mozilla/rust/wiki/Docs
30012992

branches/try2/mk/clean.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,12 @@ clean$(1)_H_$(2):
6868
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustpkg$(X_$(2))
6969
$(Q)rm -f $$(HBIN$(1)_H_$(2))/serializer$(X_$(2))
7070
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustdoc$(X_$(2))
71+
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rustdoc_ng$(X_$(2))
7172
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rusti$(X_$(2))
7273
$(Q)rm -f $$(HBIN$(1)_H_$(2))/rust$(X_$(2))
7374
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_LIBRUSTPKG_$(2))
7475
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_LIBRUSTDOC_$(2))
76+
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_LIBRUSTDOCNG_$(2))
7577
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_RUNTIME_$(2))
7678
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_STDLIB_$(2))
7779
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_EXTRALIB_$(2))
@@ -85,6 +87,7 @@ clean$(1)_H_$(2):
8587
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBSYNTAX_GLOB_$(2))
8688
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBRUSTPKG_GLOB_$(2))
8789
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBRUSTDOC_GLOB_$(2))
90+
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBRUSTDOCNG_GLOB_$(2))
8891
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBRUSTI_GLOB_$(2))
8992
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(LIBRUST_GLOB_$(2))
9093
$(Q)rm -f $$(HLIB$(1)_H_$(2))/$(CFG_RUSTLLVM_$(2))
@@ -103,10 +106,12 @@ clean$(1)_T_$(2)_H_$(3):
103106
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustpkg$(X_$(2))
104107
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/serializer$(X_$(2))
105108
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustdoc$(X_$(2))
109+
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rustdoc_ng$(X_$(2))
106110
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rusti$(X_$(2))
107111
$(Q)rm -f $$(TBIN$(1)_T_$(2)_H_$(3))/rust$(X_$(2))
108112
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTPKG_$(2))
109113
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTDOC_$(2))
114+
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_LIBRUSTDOCNG_$(2))
110115
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUNTIME_$(2))
111116
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_STDLIB_$(2))
112117
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_EXTRALIB_$(2))
@@ -120,6 +125,7 @@ clean$(1)_T_$(2)_H_$(3):
120125
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBSYNTAX_GLOB_$(2))
121126
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBRUSTPKG_GLOB_$(2))
122127
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBRUSTDOC_GLOB_$(2))
128+
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBRUSTDOCNG_GLOB_$(2))
123129
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBRUSTI_GLOB_$(2))
124130
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(LIBRUST_GLOB_$(2))
125131
$(Q)rm -f $$(TLIB$(1)_T_$(2)_H_$(3))/$(CFG_RUSTLLVM_$(2))

branches/try2/mk/dist.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ PKG_FILES := \
3939
libsyntax \
4040
rt \
4141
librustdoc \
42+
rustdoc_ng \
4243
rustllvm \
4344
snapshots.txt \
4445
test) \

0 commit comments

Comments
 (0)