Skip to content

Commit 096beb9

Browse files
committed
fix: List out custom profiles
1 parent 89f58b0 commit 096beb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

text/3502-cargo-script.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,8 @@ or `cargo read-manifest --manifest-path <file>.rs`
408408

409409
Users may be using this feature for heavier duty scripting and want optimized builds.
410410
- This can be worked around by changing `profile.dev` in the embedded manifest
411+
- We could make `profile.run` official and make cargo script use that
412+
- The custom profiles don't reuse artifacts with the inherited profile but get a separate `target/<profile>`
411413

412414
Like with all cargo packages, the `target/` directory grows unbounded.
413415
This is made worse by them being out of the way and the scripts are likely to be short-lived,

0 commit comments

Comments
 (0)