trustmebro 1.0.1

A Rust macro that magically turns unsafe code into ‘totally safe, bro’ with no consequences. Ideal for those who want to assert dominance over the compiler and live on the edge of catastrophe.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use trustmebro::trustmebro;

#[trustmebro]
fn definitely_not_a_segfault() {
    let ptr: *mut i32 = std::ptr::null_mut();
    *ptr = 42;  // BOOM! 💥 You just unlocked a new level of performance
    
    println!("You'll never see this message");
}




fn main() {
    definitely_not_a_segfault();
}