@@ -11,6 +11,8 @@ This tool is a package manager for applications written in the Rust language,
11
11
available at <\fB https://www.rust-lang.org \fR >. It provides commands to build,
12
12
install and test Rust programs.
13
13
14
+ \fB rustpkg \fR is still a work in progress. See \fB doc/rustpkg.md \fR in the Rust source distribution for future plans.
15
+
14
16
.SH COMMANDS
15
17
16
18
.TP
@@ -25,10 +27,6 @@ Remove all generated files from the \fIbuild\fR directory in the target's worksp
25
27
Builds the specified target, and all its dependencies, and then installs the
26
28
build products into the \fI lib \fR and \fI bin \fR directories of their respective
27
29
workspaces.
28
- .TP
29
- \fB test \fR
30
- Builds the module called \fI test.rs \fR in the specified workspace, and then runs
31
- the resulting executable in test mode.
32
30
33
31
.SS "BUILD COMMAND"
34
32
@@ -58,20 +56,9 @@ of the first entry in RUST_PATH.
58
56
59
57
Examples:
60
58
61
- $ rustpkg install git:// github.com/mozilla/servo.git#1.2
59
+ $ rustpkg install github.com/mozilla/servo.git#1.2
62
60
$ rustpkg install rust-glfw
63
61
64
- .SS "TEST COMMAND"
65
-
66
- rustpkg test \fI [pkgname] \fR
67
-
68
- The test command is a shortcut for the command line:
69
-
70
- $ rustc --test <filename> -o <filestem>test~ && ./<filestem>test~
71
-
72
- Note the suffix on the output filename (the word "test" followed by a tilde),
73
- which should ensure the file does not clash with a user-generated files.
74
-
75
62
.SH "ENVIRONMENT"
76
63
77
64
.TP
@@ -186,7 +173,7 @@ rust, rustc, rustdoc, rusti
186
173
See <\fB https://github.com/mozilla/rust/issues \fR > for issues.
187
174
188
175
.SH "AUTHOR"
189
- See \fB AUTHORS.txt \fR in the rust source distribution. Graydon Hoare
176
+ See \fB AUTHORS.txt \fR in the Rust source distribution. Graydon Hoare
190
177
<
\fI [email protected] \fR > is the project leader.
191
178
192
179
.SH "COPYRIGHT"
0 commit comments