Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ libcap
Function
libcap
tests/thread/libcap.rs:4–6 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
3
#[test]
4
fn libcap() {
5
thread::set_capabilities(None, thread::capabilities(None).unwrap()).unwrap();
6
}
Callers
nothing calls this directly
Calls
2
set_capabilities
Function · 0.85
capabilities
Function · 0.85
Tested by
no test coverage detected