diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2013-09-29 07:46:26 -0700 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2013-10-14 13:10:36 +0200 |
| commit | 16fc6a694cac35ce962e98e180354cbce6a72f54 (patch) | |
| tree | 20b5933785ac3aea831240447058df93be33ff1a /src/libextra | |
| parent | 5b10781c7b95a182da7c85af80a706f4ca7a4b65 (diff) | |
| download | rust-16fc6a694cac35ce962e98e180354cbce6a72f54.tar.gz rust-16fc6a694cac35ce962e98e180354cbce6a72f54.zip | |
Remove unused abi attributes.
They've been replaced by putting the name on the extern block.
#[abi = "foo"]
goes to
extern "foo" { }
Closes #9483.
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/time.rs | 3 | ||||
| -rw-r--r-- | src/libextra/unicode.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/libextra/time.rs b/src/libextra/time.rs index f2f4f96bc7a..a9f3c201b9b 100644 --- a/src/libextra/time.rs +++ b/src/libextra/time.rs @@ -19,8 +19,7 @@ static NSEC_PER_SEC: i32 = 1_000_000_000_i32; pub mod rustrt { use super::Tm; - #[abi = "cdecl"] - extern { + extern "cdecl" { pub fn get_time(sec: &mut i64, nsec: &mut i32); pub fn precise_time_ns(ns: &mut u64); pub fn rust_tzset(); diff --git a/src/libextra/unicode.rs b/src/libextra/unicode.rs index 3957551c846..1f850032266 100644 --- a/src/libextra/unicode.rs +++ b/src/libextra/unicode.rs @@ -162,8 +162,7 @@ pub mod icu { // #[link_name = "icuuc"] #[link_args = "-licuuc"] - #[abi = "cdecl"] - extern { + extern "cdecl" { pub fn u_hasBinaryProperty(c: UChar32, which: UProperty) -> UBool; pub fn u_isdigit(c: UChar32) -> UBool; pub fn u_islower(c: UChar32) -> UBool; |
