Skip to content

Commit 2a706aa

Browse files
committed
auto merge of #9234 : steveklabnik/rust/rustpkg_manpage, r=cmr
Closes #9221. "rustpkg test" isn't implemented yet, so it shouldn't be in the manpage. Referring interested parties to the manual is probably the right thing for now; eventually, these documents should merge. /cc @catamorphism
2 parents 07e821a + e1507f3 commit 2a706aa

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

man/rustpkg.1

+4-17
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ This tool is a package manager for applications written in the Rust language,
1111
available at <\fBhttps://www.rust-lang.org\fR>. It provides commands to build,
1212
install and test Rust programs.
1313

14+
\fBrustpkg\fR is still a work in progress. See \fBdoc/rustpkg.md\fR in the Rust source distribution for future plans.
15+
1416
.SH COMMANDS
1517

1618
.TP
@@ -25,10 +27,6 @@ Remove all generated files from the \fIbuild\fR directory in the target's worksp
2527
Builds the specified target, and all its dependencies, and then installs the
2628
build products into the \fIlib\fR and \fIbin\fR directories of their respective
2729
workspaces.
28-
.TP
29-
\fBtest\fR
30-
Builds the module called \fItest.rs\fR in the specified workspace, and then runs
31-
the resulting executable in test mode.
3230

3331
.SS "BUILD COMMAND"
3432

@@ -58,20 +56,9 @@ of the first entry in RUST_PATH.
5856

5957
Examples:
6058

61-
$ rustpkg install git://github.com/mozilla/servo.git#1.2
59+
$ rustpkg install github.com/mozilla/servo.git#1.2
6260
$ rustpkg install rust-glfw
6361

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-
7562
.SH "ENVIRONMENT"
7663

7764
.TP
@@ -186,7 +173,7 @@ rust, rustc, rustdoc, rusti
186173
See <\fBhttps://github.com/mozilla/rust/issues\fR> for issues.
187174

188175
.SH "AUTHOR"
189-
See \fBAUTHORS.txt\fR in the rust source distribution. Graydon Hoare
176+
See \fBAUTHORS.txt\fR in the Rust source distribution. Graydon Hoare
190177
<\fI[email protected]\fR> is the project leader.
191178

192179
.SH "COPYRIGHT"

0 commit comments

Comments
 (0)