rust
❯ cargo new foo
Created binary (application) `foo` package
rust
❯ cd foo
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo check
Checking foo v0.1.0 (E:\workspace\rust\foo)
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo ws
thread 'main' panicked at 'create workspace: environment variable not found', src/main.rs:165:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
rust
❯ cargo new foo
Created binary (application) `foo` package
rust
❯ cd foo
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo check
Checking foo v0.1.0 (E:\workspace\rust\foo)
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo ws
thread 'main' panicked at 'create workspace: environment variable not found', src/main.rs:165:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
rust
❯ cargo new foo
Created binary (application) `foo` package
rust
❯ cd foo
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo check
Checking foo v0.1.0 (E:\workspace\rust\foo)
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
foo on master [?] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo ws
thread 'main' panicked at 'create workspace: environment variable not found', src/main.rs:165:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
评论区
写评论你再试试,应该可以了
--
👇
yar999: windows 下报错啊
目前还没有适配 windows 版本,请再等等吧!
--
👇
yar999: windows 下报错啊
windows 下报错啊