Add comment about why -Cpanic=abort option is needed

This commit is contained in:
Guillaume Gomez 2023-12-19 01:07:01 +01:00
parent a8b0e30a8b
commit f516c96811

View File

@ -165,6 +165,8 @@ impl ConfigInfo {
}
_ => {}
}
// This should not be needed, but is necessary for the CI in the rust repository.
// FIXME: Remove when the rust CI switches to the master version of libgccjit.
rustflags.push("-Cpanic=abort".to_string());
} else {
self.cg_backend_path = current_dir