Rye with arguments without command fails
SamoylovMD opened this issue · 0 comments
Steps to Reproduce
- Create
.env
file - Run
rye --env-file=.env
Expected Result
Should print help message (as rye
without arguments does)
Actual Result
$ rye --env-file=.env
thread 'main' panicked at rye/src/cli/mod.rs:122:9:
internal error: entered unreachable code
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Version Info
$ rye --version
rye 0.38.0
commit: 0.38.0 (3e3c854 2024-08-02)
platform: macos (x86_64)
self-python: cpython@3.12.2
symlink support: true
uv enabled: true
Stacktrace
$ RUST_BACKTRACE=1 rye --env-file=.env
thread 'main' panicked at rye/src/cli/mod.rs:122:9:
internal error: entered unreachable code
stack backtrace:
0: _rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic
3: rye::cli::execute
4: std::panicking::try
5: rye::utils::panic::trap_bad_pipe
6: rye::main
note: Some details are omitted, run with RUST_BACKTRACE=full
for a verbose backtrace.