diff options
Diffstat (limited to 'vendor/rustix/tests/fs/cwd.rs')
-rw-r--r-- | vendor/rustix/tests/fs/cwd.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/rustix/tests/fs/cwd.rs b/vendor/rustix/tests/fs/cwd.rs new file mode 100644 index 000000000..749c84f24 --- /dev/null +++ b/vendor/rustix/tests/fs/cwd.rs @@ -0,0 +1,3 @@ +/// Make sure we can use `cwd` in const contexts. +#[allow(dead_code)] +const CWD: rustix::fd::BorrowedFd<'static> = rustix::fs::cwd(); |