diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c277a7b..161f223 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,16 +17,7 @@ jobs: with: submodules: true - - name: Build (macOS) - if: matrix.platform == 'macos-latest' - uses: messense/maturin-action@v1 - with: - command: build - target: universal2-apple-darwin - args: --release -o dist - - name: Build - if: matrix.platform != 'macos-latest' uses: messense/maturin-action@v1 with: command: build diff --git a/Cargo.toml b/Cargo.toml index 95ddcd7..4277d02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,4 @@ reqwest = { version = "0.11", features = ["blocking", "json"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" zip-extract = "0.1" +cc = "=1.0.83" diff --git a/build.rs b/build.rs index 894e7d6..c8ef7e0 100644 --- a/build.rs +++ b/build.rs @@ -19,7 +19,6 @@ fn main() { serde_json::from_str(drivers_json.as_str()).expect("Failed to parse drivers.json"); let dst = cmake::Config::new("acquire-common") - .target("acquire-common") .profile("RelWithDebInfo") .static_crt(true) .define("NOTEST", "TRUE")