Blog no. 05 In this blog, we will explore how to link a zig library statically and dynamically. First lets create a library that contains a function my_add that adds two numbers. Note that instead of pub keyword which we used in previous blog, we will be using export keyword to decorate the my_add function. // libraries__add.zig export fn my_add ( num1 : i32 , num2 : i32 ) i32 { return num1 + num2 ; } Build the libraries__add.zig file as a static library using the command zig build-lib -O Releas

You have been zigged (series) : Linking static library
Black Tornado
