Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rust-GPU/rust-cuda
/ test_init_twice
Function
test_init_twice
crates/cust/src/lib.rs:167–170 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
165
166
#[test]
167
fn test_init_twice() {
168
init(CudaFlags::empty()).unwrap();
169
init(CudaFlags::empty()).unwrap();
170
}
171
}
172
173
// Fake module with a private trait used to prevent outside code from implementing certain traits.
Callers
nothing calls this directly
Calls
1
init
Function · 0.70
Tested by
no test coverage detected