You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #9627 - whereistejas:many-bin-names, r=ehuss
Ability to specify the output name for a bin target different from the crate name
Hi,
I have opened this to close the following issue #1706 .
I have decided to start by writing a test to outline what behavior is expected from `Cargo`.
As of now, this test fails (for obvious reasons). I will now start writing the code needed to pass this test.
This is my first time contributing to cargo. Please, feel free to let me know if there are any protocols/processes that need to be followed. I'm a newbie at this.
Closes issue #1706
Copy file name to clipboardExpand all lines: src/doc/src/reference/unstable.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ Each new feature described below should explain how to use it.
74
74
* Output behavior
75
75
*[out-dir](#out-dir) — Adds a directory where artifacts are copied to.
76
76
*[terminal-width](#terminal-width) — Tells rustc the width of the terminal so that long diagnostic messages can be truncated to be more readable.
77
+
*[Different binary name](#different-binary-name) — Assign a name to the built binary that is seperate from the crate name.
77
78
* Compile behavior
78
79
*[mtime-on-use](#mtime-on-use) — Updates the last-modified timestamp on every dependency every time it is used, to provide a mechanism to delete unused artifacts.
79
80
*[doctest-xcompile](#doctest-xcompile) — Supports running doctests with the `--target` flag.
@@ -1288,6 +1289,32 @@ The primary use case is to run `cargo rustc --print=cfg` to get config values
1288
1289
for the appropriate target and influenced by any other RUSTFLAGS.
0 commit comments