#!/bin/bash set -exu bindgen \ --whitelist-type="^nvrtc.*" \ --whitelist-function="^nvrtc.*" \ --default-enum-style=rust \ --no-doc-comments \ --with-derive-default \ --with-derive-eq \ --with-derive-hash \ --with-derive-ord \ --size_t-is-usize \ --use-core \ wrapper.h -- -I/usr/local/cuda/include \ > sys.rs