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 664146a commit b039187Copy full SHA for b039187
test/runtests.jl
@@ -45,9 +45,9 @@ using GPUToolbox
45
@testset "gcsafe_ccall" begin
46
function gc_safe_ccall()
47
# jl_rand is marked as JL_NOTSAFEPOINT
48
- @gcsafe_ccall gc_safe=true jl_rand()::UInt64
+ @gcsafe_ccall jl_rand()::UInt64
49
end
50
-
+
51
let llvm = sprint(code_llvm, gc_safe_ccall, ())
52
# check that the call works
53
@test gc_safe_ccall() isa UInt64
0 commit comments