Skip to content

Commit 08a60d4

Browse files
committed
Set docs.rs targets on all crates
1 parent 99d0aa7 commit 08a60d4

File tree

6 files changed

+79
-1
lines changed

6 files changed

+79
-1
lines changed

block-sys/Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,20 @@ objc-sys = { path = "../objc-sys", version = "=0.2.0-alpha.1", default-features
5252
[package.metadata.docs.rs]
5353
default-target = "x86_64-apple-darwin"
5454
no-default-features = true
55+
56+
targets = [
57+
# MacOS
58+
"x86_64-apple-darwin",
59+
"aarch64-apple-darwin",
60+
# "i686-apple-darwin",
61+
# iOS
62+
"aarch64-apple-ios",
63+
"x86_64-apple-ios",
64+
# "armv7-apple-ios",
65+
# "i386-apple-ios",
66+
# GNUStep
67+
"x86_64-unknown-linux-gnu",
68+
"i686-unknown-linux-gnu",
69+
# Windows
70+
"x86_64-pc-windows-msvc",
71+
]

block2/Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,20 @@ block-sys = { path = "../block-sys", version = "0.0.3", default-features = false
3535

3636
[package.metadata.docs.rs]
3737
default-target = "x86_64-apple-darwin"
38+
39+
targets = [
40+
# MacOS
41+
"x86_64-apple-darwin",
42+
"aarch64-apple-darwin",
43+
# "i686-apple-darwin",
44+
# iOS
45+
"aarch64-apple-ios",
46+
"x86_64-apple-ios",
47+
# "armv7-apple-ios",
48+
# "i386-apple-ios",
49+
# GNUStep
50+
"x86_64-unknown-linux-gnu",
51+
"i686-unknown-linux-gnu",
52+
# Windows
53+
"x86_64-pc-windows-msvc",
54+
]

objc-sys/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,16 @@ no-default-features = true
5858
targets = [
5959
# MacOS
6060
"x86_64-apple-darwin",
61+
"aarch64-apple-darwin",
6162
# "i686-apple-darwin",
6263
# iOS
6364
"aarch64-apple-ios",
6465
"x86_64-apple-ios",
66+
# "armv7-apple-ios",
67+
# "i386-apple-ios",
6568
# GNUStep
6669
"x86_64-unknown-linux-gnu",
6770
"i686-unknown-linux-gnu",
71+
# Windows
72+
"x86_64-pc-windows-msvc",
6873
]

objc2-encode/Cargo.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,20 @@ license = "MIT"
2020

2121
[package.metadata.docs.rs]
2222
default-target = "x86_64-apple-darwin"
23+
24+
targets = [
25+
# MacOS
26+
"x86_64-apple-darwin",
27+
"aarch64-apple-darwin",
28+
# "i686-apple-darwin",
29+
# iOS
30+
"aarch64-apple-ios",
31+
"x86_64-apple-ios",
32+
# "armv7-apple-ios",
33+
# "i386-apple-ios",
34+
# GNUStep
35+
"x86_64-unknown-linux-gnu",
36+
"i686-unknown-linux-gnu",
37+
# Windows
38+
"x86_64-pc-windows-msvc",
39+
]

objc2-foundation/Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,21 @@ objc2 = { path = "../objc2", version = "=0.3.0-alpha.6", default-features = fals
3535

3636
[package.metadata.docs.rs]
3737
default-target = "x86_64-apple-darwin"
38+
features = ["block"]
39+
40+
targets = [
41+
# MacOS
42+
"x86_64-apple-darwin",
43+
"aarch64-apple-darwin",
44+
# "i686-apple-darwin",
45+
# iOS
46+
"aarch64-apple-ios",
47+
"x86_64-apple-ios",
48+
# "armv7-apple-ios",
49+
# "i386-apple-ios",
50+
# GNUStep
51+
"x86_64-unknown-linux-gnu",
52+
"i686-unknown-linux-gnu",
53+
# Windows
54+
"x86_64-pc-windows-msvc",
55+
]

objc2/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,21 @@ harness = false
6262

6363
[package.metadata.docs.rs]
6464
default-target = "x86_64-apple-darwin"
65-
6665
features = ["exception", "malloc"]
6766

6867
targets = [
6968
# MacOS
7069
"x86_64-apple-darwin",
70+
"aarch64-apple-darwin",
7171
# "i686-apple-darwin",
7272
# iOS
7373
"aarch64-apple-ios",
7474
"x86_64-apple-ios",
75+
# "armv7-apple-ios",
76+
# "i386-apple-ios",
7577
# GNUStep
7678
"x86_64-unknown-linux-gnu",
7779
"i686-unknown-linux-gnu",
80+
# Windows
81+
"x86_64-pc-windows-msvc",
7882
]

0 commit comments

Comments
 (0)