When I'm trying to make a static build of my rust application with some cuda code doing:
RUSTFLAGS='-C target-feature=+crt-static' cargo build --release
I'm getting the following error under linux:
cargo:warning=nvcc fatal : Unknown option '-static'
exit status: 1
Tested with CUDA 12