How to execute cargo test using the nightly channel?

后端 未结 2 379
终归单人心
终归单人心 2020-12-16 10:51

I\'m trying to run my tests with nightly Rust using Windows Powershell. I run cargo test in the directory, and I get



        
2条回答
  •  隐瞒了意图╮
    2020-12-16 11:01

    The command line solution may help you to configure your IDE:

    cargo +nightly test
    

    Provided, of course, that you have the nightly channel installed. If not, perhaps install it with rustup install nightly (no need to switch to it, but check you're still on stable: rustup show).

提交回复
热议问题