MCPcopy Create free account
hub / github.com/Nariod/RustPacker / test_proxy_source_empty

Function test_proxy_source_empty

src/dll_proxy.rs:113–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112 #[test]
113 fn test_proxy_source_empty() {
114 let src = generate_proxy_source(&[], "test_orig");
115 assert!(src.contains("pub unsafe fn init()"));
116 assert!(!src.contains("#[unsafe(naked)]"));
117 }
118
119 #[test]
120 fn test_generate_proxy_output() {

Callers

nothing calls this directly

Calls 1

generate_proxy_sourceFunction · 0.85

Tested by

no test coverage detected