I use the configuration below in the /.cargo/config.toml
of my company’s commercial products for static linking of the MSVC runtime:
[target.'cfg(target_env="msvc")']
rustflags = ["-C", "target-feature=+crt-static"]
I am not very familiar with licensing regulations. Do I need any licenses to do this?