Skip to content

Commit 457801f

Browse files
committed
fix: Remove a drawback as its future possibility
1 parent 8d6aae1 commit 457801f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

text/3502-cargo-script.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,6 @@ ideal.
409409
A user can workaround this with `cargo metadata --manifest-path <file>.rs`
410410
or `cargo read-manifest --manifest-path <file>.rs`
411411

412-
Users may be using this feature for heavier duty scripting and want optimized builds.
413-
- This can be worked around by changing `profile.dev` in the embedded manifest
414-
- We could make `profile.run` official and make cargo script use that
415-
- The custom profiles don't reuse artifacts with the inherited profile but get a separate `target/<profile>`
416-
417412
Like with all cargo packages, the `target/` directory grows unbounded.
418413
This is made worse by them being out of the way and the scripts are likely to be short-lived,
419414
removed without a `cargo clean --manifest-path foo`.

0 commit comments

Comments
 (0)