Commit 45c48fa 1 parent 25d9ef1 commit 45c48fa Copy full SHA for 45c48fa
File tree 2 files changed +19
-6
lines changed
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -883,7 +883,7 @@ pub fn build(b: *Build) !void {
883
883
} else {
884
884
curl_lib .root_module .addCMacro ("CURL_EXTERN_SYMBOL" , "__attribute__ ((__visibility__ (\" default\" ))" );
885
885
886
- if (target .result .isDarwin () == false ) {
886
+ if (target .result .os . tag . isDarwin () == false ) {
887
887
curl_lib .root_module .addCMacro ("ENABLE_IPV6" , "1" );
888
888
curl_lib .root_module .addCMacro ("HAVE_GETHOSTBYNAME_R" , "1" );
889
889
curl_lib .root_module .addCMacro ("HAVE_MSG_NOSIGNAL" , "1" );
Original file line number Diff line number Diff line change 1
1
.{
2
- .name = " orca" ,
2
+ .name = . orca ,
3
3
4
4
// This is a [Semantic Version](https://semver.org/).
5
5
// In a future version of Zig it will be used for package deduplication.
6
6
.version = "0.0.1" ,
7
7
8
- // This field is optional.
9
- // This is currently advisory only; Zig does not yet do anything
10
- // with this value.
11
- //.minimum_zig_version = "0.11.0",
8
+ // Together with name, this represents a globally unique package
9
+ // identifier. This field is generated by the Zig toolchain when the
10
+ // package is first created, and then *never changes*. This allows
11
+ // unambiguous detection of one package being an updated version of
12
+ // another.
13
+ //
14
+ // When forking a Zig project, this id should be regenerated (delete the
15
+ // field and run `zig build`) if the upstream project is still maintained.
16
+ // Otherwise, the fork is *hostile*, attempting to take control over the
17
+ // original project's identity. Thus it is recommended to leave the comment
18
+ // on the following line intact, so that it shows up in code reviews that
19
+ // modify the field.
20
+ .fingerprint = 0x6111edddc2c61a9f , // Changing this has security and trust implications.
21
+
22
+ // Tracks the earliest Zig version that the package considers to be a
23
+ // supported use case.
24
+ .minimum_zig_version = "0.14.0" ,
12
25
13
26
//
14
27
.dependencies = .{
You can’t perform that action at this time.
0 commit comments