We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#![no_main]
main fn
#![no_main] #[no_mangle] unsafe extern "C" fn main(){ /*dbg!();*/ } #[test] fn test(){}
error: test failed, to rerun pass `--lib` Caused by: process didn't exit successfully:
https://play.rust-lang.org/?version=nightly&mode=release&edition=2021&gist=7cf70fdc5b46dde52751bdd3a0f89a57
If add some code to main fn, such as dbg!();; then test can run normally without problem.
dbg!();
Status