Jakub Kądziołka published a proof-of-concept demonstrating direct issues related to a bug in the Rust compiler project, which developers have been unsuccessfully trying to resolve for four years.
The example developed by Jakub allows bypassing the Borrow Checker through a very simple trick:
fn main() {
let boom = fake_static::make_static(&vec![0; 1<<20]);
println!("{:?}", boom);
}
The developer requests not to use this workaround in Production, as his goal was only to draw attention to the issue being ignored by Rust developers.
Source: linux.org.ru
