File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 4141 zig build -Dtarget=wasm32-wasi
4242 zig build -Dtarget=wasm32-freestanding
4343
44- zig build -Dlink-mode =dynamic
45- zig build -Dlink-mode =dynamic -Drelease
46- zig build -Dlink-mode =dynamic -Drelease -Dfavor-performance
47- zig build -Dlink-mode =dynamic -Drelease -Dwith-benchmark
48- zig build -Dlink-mode =dynamic -Drelease -Dwith-benchmark -Dfavor-performance
44+ zig build -Dlinkage =dynamic
45+ zig build -Dlinkage =dynamic -Drelease
46+ zig build -Dlinkage =dynamic -Drelease -Dfavor-performance
47+ zig build -Dlinkage =dynamic -Drelease -Dwith-benchmark
48+ zig build -Dlinkage =dynamic -Drelease -Dwith-benchmark -Dfavor-performance
Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ Note that the compiler makes a difference. Zig (or a recent `clang` with target-
2626zig build -Drelease
2727```
2828
29- To build the library as a shared object using the ` -Dlink-mode ` option:
29+ To build the library as a shared object using the ` -Dlinkage ` option:
3030``` sh
31- zig build -Dlink-mode =dynamic -Drelease
31+ zig build -Dlinkage =dynamic -Drelease
3232```
3333
3434The library and headers are installed in the ` zig-out ` folder.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ pub fn build(b: *std.Build) void {
55 const with_benchmark : bool = b .option (bool , "with-benchmark" , "Compile benchmark" ) orelse false ;
66 const optimize = b .standardOptimizeOption (.{ .preferred_optimize_mode = .ReleaseFast });
77 const version = std .SemanticVersion .parse ("0.4.5" ) catch unreachable ;
8- const linkage = b .option (std .builtin .LinkMode , "link-mode " , "Link mode" ) orelse .static ;
8+ const linkage = b .option (std .builtin .LinkMode , "linkage " , "Link mode" ) orelse .static ;
99
1010 const lib = b .addLibrary (.{
1111 .name = "aegis" ,
You can’t perform that action at this time.
0 commit comments