We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5071216 commit c86ad3aCopy full SHA for c86ad3a
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "objc_exception"
3
-version = "0.1.1"
+version = "0.1.2"
4
authors = ["Steven Sheldon"]
5
6
description = "Rust interface for Objective-C's throw and try/catch statements."
@@ -14,4 +14,4 @@ exclude = [".gitignore"]
14
build = "build.rs"
15
16
[build-dependencies]
17
-gcc = "0.3"
+cc = "1"
build.rs
@@ -1,5 +1,7 @@
-extern crate gcc;
+extern crate cc;
fn main() {
- gcc::compile_library("libexception.a", &["extern/exception.m"]);
+ cc::Build::new()
+ .file("extern/exception.m")
+ .compile("libexception.a");
7
}
0 commit comments