File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,15 @@ name = "linkcode-sim"
1414path = " src/main.rs"
1515
1616[dependencies ]
17- block2 = " 0.6.2"
1817libc = " 0.2.189"
18+ serde = { version = " 1.0.228" , features = [" derive" ] }
19+ serde_json = " 1.0.150"
20+
21+ # The private-framework layer (CoreSimulator/SimulatorKit via objc2/block2) is macOS-only and its
22+ # use is all behind `#[cfg(target_os = "macos")]`. Scope these deps to macOS so a Linux CI build
23+ # doesn't compile objc2's Objective-C exception helper, which needs an ObjC toolchain (cc1obj).
24+ [target .'cfg(target_os = "macos")' .dependencies ]
25+ block2 = " 0.6.2"
1926objc2 = { version = " 0.6.4" , features = [" exception" ] }
2027objc2-core-foundation = " 0.3.2"
2128objc2-foundation = " 0.3.2"
22- serde = { version = " 1.0.228" , features = [" derive" ] }
23- serde_json = " 1.0.150"
You can’t perform that action at this time.
0 commit comments