We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f914e8a commit c05e9d9Copy full SHA for c05e9d9
src/lib.rs
@@ -1961,8 +1961,16 @@ impl Build {
1961
cmd.arg("-I").arg(directory);
1962
}
1963
if target.contains("aarch64") || target.contains("arm") {
1964
+ if self.get_debug() {
1965
+ cmd.arg("-g");
1966
+ }
1967
+
1968
println!("cargo:warning=The MSVC ARM assemblers do not support -D flags");
1969
} else {
1970
1971
+ cmd.arg("-Zi");
1972
1973
1974
for &(ref key, ref value) in self.definitions.iter() {
1975
if let Some(ref value) = *value {
1976
cmd.arg(&format!("-D{}={}", key, value));
0 commit comments