mirror of
https://git.proxmox.com/git/rustc
synced 2026-08-09 07:31:11 +00:00
14 lines
228 B
Rust
14 lines
228 B
Rust
extern crate same_file;
|
|
|
|
use std::error::Error;
|
|
use same_file::is_same_file;
|
|
|
|
fn try_main() -> Result<(), Box<Error>> {
|
|
assert!(is_same_file("/bin/sh", "/usr/bin/sh")?);
|
|
Ok(())
|
|
}
|
|
|
|
fn main() {
|
|
try_main().unwrap();
|
|
}
|