Skip to content

Commit

Permalink
Auto merge of #225 - zhengrenzhe:master, r=jdm
Browse files Browse the repository at this point in the history
add target dependencies for apple m1

i build servo on my apple m1 macbook, but got error `error[E0463]: can't find crate for 'objc' ` when compile surfman, so i add the target dependencies for apple m1.

i have already build passed and tested on my m1 macbook with command:

```
cargo build -p surfman
cargo test --lib
```
  • Loading branch information
bors-servo authored Apr 23, 2021
2 parents 6d218f1 + 6670ffd commit 8dba5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surfman/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "surfman"
license = "MIT / Apache-2.0"
edition = "2018"
version = "0.4.0"
version = "0.4.1"
authors = [
"Patrick Walton <pcwalton@mimiga.net>",
"Emilio Cobos Álvarez <emilio@crisal.io>",
Expand Down Expand Up @@ -57,7 +57,7 @@ gl = "0.14"
png = "0.15"
rand = "0.7"

[target.x86_64-apple-darwin.dependencies]
[target.'cfg(target_os = "macos")'.dependencies]
cgl = "0.3.2"
cocoa = "0.19"
core-foundation = "0.6"
Expand Down

0 comments on commit 8dba5ea

Please sign in to comment.