nvptx: add TODO comment regarding abuse of llvm builtins
This commit is contained in:
@@ -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"();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user