astd 0.0.1

A drop-in replacement for std in no-std environments, with full abseil backend.
1
2
3
4
5
6
7
8
#![cfg(windows)]

/// Attempting to delete a running binary should return an error on Windows.
#[test]
fn win_delete_self() {
    let path = std::env::current_exe().unwrap();
    assert!(std::fs::remove_file(path).is_err());
}