cargo build --release && \ cp ./target/release/liblibstaticvec.so ./c_header_and_example/liblibstaticvec.so && \ cc -O2 ./c_header_and_example/example.cpp -o ./c_header_and_example/example \ -I./c_header_and_example -L./c_header_and_example -llibstaticvec && \ cd ./c_header_and_example && \ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~. && \ ./example