Skip to content

buaazp/rust-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustc bug: rust-lang/rust#132900

How to reproduce

python3 gen_code.py 4097
RUSTFLAGS="-g" cargo build --release

While if the number is less than 4097, it will work fine.

python3 gen_code.py 4096
RUSTFLAGS="-g" cargo build --release

What's the problem

A function with 4097 lines of code will cause a panic when the macro is expanded.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published