nvptx: add TODO comment regarding abuse of llvm builtins

This commit is contained in:
Andrew Kelley
2022-10-15 10:50:02 -07:00
parent 24c749473a
commit c289794f0d

View File

@@ -501,6 +501,7 @@ pub fn abort() noreturn {
exit(1);
}
if (builtin.os.tag == .cuda) {
// TODO: introduce `@trap` instead of abusing https://github.com/ziglang/zig/issues/2291
@"llvm.trap"();
}