Skip to content

Cargo and rust-analyzer will blocking when compile this code

Notifications You must be signed in to change notification settings

umoho/rs_block_compile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Can you compile this Rust code without blocking?

Cargo and rust-analyzer will blocking when compile this code ...

I'm not sure if it's a bug on stable Rust.

You can try to compile it on your computer.

Picture 1

Picture 2

My idea: Normally, suspicious code should be refused compilation, but now it is continuously being compiled without exiting, which is very strange.

Tool version and target

Version

  • rustc --version: rustc 1.78.0 (9b00956e5 2024-04-29)
  • rustup --version: rustup 1.27.1 (54dd3d00f 2024-04-24)
  • cargo --version: cargo 1.78.0 (54d8815d0 2024-03-26)

Target

  • rustup default: stable-aarch64-apple-darwin (default)

About

Cargo and rust-analyzer will blocking when compile this code

Topics

Resources

Stars

Watchers

Forks

Languages