mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
0cc4946219
Use a proc macro to observe the incremental session directory and do something platform specific so that renaming the '-working' session directory during finalize_session_directory will fail. On Unix, change the permissions on the parent directory to be read-only. On Windows, open and leak a file inside the `-working` directory.
6 lines
62 B
Rust
6 lines
62 B
Rust
poison::poison_finalize!();
|
|
|
|
pub fn hello() -> i32 {
|
|
42
|
|
}
|