patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH] tools/start-vmm: Don't disable improper_ctypes
@ 2025-09-18 19:03 Demi Marie Obenour
  2025-09-19 10:00 ` Alyssa Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Demi Marie Obenour @ 2025-09-18 19:03 UTC (permalink / raw)
  To: Spectrum OS Development; +Cc: Alyssa Ross, Demi Marie Obenour

The code didn't use improper ctypes.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
 tools/start-vmm/net.rs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tools/start-vmm/net.rs b/tools/start-vmm/net.rs
index c6f5ff1baf2ecedc099ac529e6dbf2711aaae385..1e4665ceb02c9a8899231a100e631f6ce425994d 100644
--- a/tools/start-vmm/net.rs
+++ b/tools/start-vmm/net.rs
@@ -42,7 +42,6 @@ extern "C" {
     /// The rest of the result is only valid if the returned fd is not -1.
     // SAFETY: &Path is sized, so it's okay to pass a reference to it
     // to C, as long as it's opaque to C.
-    #[allow(improper_ctypes)]
     pub fn net_setup(name: *const c_char, len: c_int) -> NetConfigC;
 }
 

---
base-commit: edd53bb5dd9b682fec744d6df7921b64e0f56565
change-id: 20250918-no-improper-ctypes-72bdc9037e4e
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-19 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 19:03 [PATCH] tools/start-vmm: Don't disable improper_ctypes Demi Marie Obenour
2025-09-19 10:00 ` Alyssa Ross

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).