diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-01-29 08:19:28 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-02-01 14:41:38 +0100 |
| commit | fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae (patch) | |
| tree | 055fbf1fe9f0b9bd89481f29105fef90370d7789 /src/libsyntax | |
| parent | f1f9cb705df95171fce4e575374c959509e58dea (diff) | |
| download | rust-fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae.tar.gz rust-fcb30a0b67b1bd4acbc3422ff74fac5d031ae1ae.zip | |
openbsd support
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/abi.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsyntax/abi.rs b/src/libsyntax/abi.rs index 2325b3778c7..de3fa1135b1 100644 --- a/src/libsyntax/abi.rs +++ b/src/libsyntax/abi.rs @@ -1,4 +1,4 @@ -// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -24,6 +24,7 @@ pub enum Os { OsFreebsd, OsiOS, OsDragonfly, + OsOpenbsd, } #[derive(PartialEq, Eq, Hash, RustcEncodable, RustcDecodable, Clone, Copy, Debug)] @@ -134,7 +135,8 @@ impl fmt::Display for Os { OsiOS => "ios".fmt(f), OsAndroid => "android".fmt(f), OsFreebsd => "freebsd".fmt(f), - OsDragonfly => "dragonfly".fmt(f) + OsDragonfly => "dragonfly".fmt(f), + OsOpenbsd => "openbsd".fmt(f), } } } |
