mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
nvptx: add TODO comment regarding abuse of llvm builtins
This commit is contained in:
parent
24c749473a
commit
c289794f0d
@ -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"();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user