Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ test_setgid
Function
test_setgid
tests/thread/id.rs:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
#[cfg(feature =
"process"
)]
24
#[test]
25
fn test_setgid() {
26
thread::set_thread_gid(process::getgid()).unwrap();
27
}
28
29
#[cfg(feature =
"process"
)]
30
#[test]
Callers
nothing calls this directly
Calls
2
set_thread_gid
Function · 0.85
getgid
Function · 0.50
Tested by
no test coverage detected