From: Demi Marie Obenour <demiobenour@gmail.com>
To: Spectrum OS Development <devel@spectrum-os.org>
Cc: Alyssa Ross <hi@alyssa.is>, Demi Marie Obenour <demiobenour@gmail.com>
Subject: [PATCH] tools/start-vmm: Don't disable improper_ctypes
Date: Thu, 18 Sep 2025 15:03:35 -0400 [thread overview]
Message-ID: <20250918-no-improper-ctypes-v1-1-20b17c8ef946@gmail.com> (raw)
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)
next reply other threads:[~2025-09-18 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 19:03 Demi Marie Obenour [this message]
2025-09-19 10:00 ` [PATCH] tools/start-vmm: Don't disable improper_ctypes Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250918-no-improper-ctypes-v1-1-20b17c8ef946@gmail.com \
--to=demiobenour@gmail.com \
--cc=devel@spectrum-os.org \
--cc=hi@alyssa.is \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).