diff options
| author | bors <bors@rust-lang.org> | 2016-01-17 12:23:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-17 12:23:57 +0000 |
| commit | bff52927f582e2ca8dea799bd58f06e654295e21 (patch) | |
| tree | 2286b17c8092d1e6a9a026ef979dd7ecd333b348 /src/libstd/sys | |
| parent | 0b524edb043c22a577968290fed1a4ff9936a28a (diff) | |
| parent | 00a4eeadaf10156e2e2b7a0c050c2ca1ac826f76 (diff) | |
| download | rust-bff52927f582e2ca8dea799bd58f06e654295e21.tar.gz rust-bff52927f582e2ca8dea799bd58f06e654295e21.zip | |
Auto merge of #30975 - Manishearth:rollup, r=Manishearth
- Successful merges: #30938, #30940, #30943, #30949, #30952, #30957, #30959 - Failed merges:
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/ext/fs.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/ext/fs.rs b/src/libstd/sys/unix/ext/fs.rs index 16e1578296d..8d21ba8f661 100644 --- a/src/libstd/sys/unix/ext/fs.rs +++ b/src/libstd/sys/unix/ext/fs.rs @@ -23,42 +23,61 @@ use sys; use sys_common::{FromInner, AsInner, AsInnerMut}; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const USER_READ: raw::mode_t = 0o400; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const USER_WRITE: raw::mode_t = 0o200; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const USER_EXECUTE: raw::mode_t = 0o100; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const USER_RWX: raw::mode_t = 0o700; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const GROUP_READ: raw::mode_t = 0o040; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const GROUP_WRITE: raw::mode_t = 0o020; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const GROUP_EXECUTE: raw::mode_t = 0o010; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const GROUP_RWX: raw::mode_t = 0o070; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const OTHER_READ: raw::mode_t = 0o004; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const OTHER_WRITE: raw::mode_t = 0o002; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const OTHER_EXECUTE: raw::mode_t = 0o001; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const OTHER_RWX: raw::mode_t = 0o007; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const ALL_READ: raw::mode_t = 0o444; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const ALL_WRITE: raw::mode_t = 0o222; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const ALL_EXECUTE: raw::mode_t = 0o111; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const ALL_RWX: raw::mode_t = 0o777; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const SETUID: raw::mode_t = 0o4000; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const SETGID: raw::mode_t = 0o2000; #[unstable(feature = "fs_mode", reason = "recently added API", issue = "27712")] +#[rustc_deprecated(since = "1.7.0", reason = "moved to the libc crate instead")] pub const STICKY_BIT: raw::mode_t = 0o1000; /// Unix-specific extensions to `Permissions` |
