Skip to content

Commit ac2540a

Browse files
committed
fix: Ensure we call out stdin as future possibility
1 parent 967a494 commit ac2540a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/3502-cargo-script.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ A policy on this needs to balance
640640
- Users wanting the latest experience, in general
641641
- Boilerplate runs counter to experimentation and prototyping, particularly in the "no dependencies" case
642642
- A `cargo new --script` (flag TBD) could help reduce writing of boilerplate.
643-
- There might not be a backing file if we read from `stdin`
643+
- There might not be a backing file if we read from `stdin` (future possibility)
644644

645645
**Solution: Latest as Default**
646646

@@ -783,7 +783,7 @@ fn main() {
783783
}
784784
````
785785

786-
This won't work for the `stdin` case.
786+
This won't work for the `stdin` case (future possibility).
787787

788788
> Disposition: Rejected because implicitly modifying user code, especially
789789
> while being edited, is a poor experience.
@@ -1090,7 +1090,7 @@ Considerations
10901090
- There is an expectation of a reproducible Rust experience across systems with lockfiles being a key element
10911091
- Dropping of additional files might be frustrating for users to deal with (in
10921092
addition to making it harder to share it all)
1093-
- We would need a way to store the lockfile for `stdin` without conflicting
1093+
- We would need to decide what to do for lockfiles and `stdin` (another future possibility) without conflicting
10941094
with parallel runs
10951095
- `cargo` already makes persisting of `Cargo.lock` optional for multi-file
10961096
packages, encouraging not persisting it in some cases

0 commit comments

Comments
 (0)