lilydjwg / swapview-rosetta

Print swap usage per process. Implemented in various programming languages
493 stars 108 forks source link

Zig: fix build mode #174

Closed zhangkaizhao closed 2 years ago

zhangkaizhao commented 2 years ago

The -Drelease-safe=[bool] optimizations on and safety on option is a Project-Specific option, e.g. using in the zig build command. For the zig build-exe command we should use -O ReleaseSafe, without this the default build mode Debug is used.

lilydjwg commented 2 years ago

That's much better!