From 6a204e2dec621d0cec4b9290733feee67d49b8c8 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 29 Jun 2022 22:17:46 -0400 Subject: [PATCH] use Rust SnakeCase --- src/shims/unix/dlsym.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shims/unix/dlsym.rs b/src/shims/unix/dlsym.rs index e1f819fb856..2c563a9551f 100644 --- a/src/shims/unix/dlsym.rs +++ b/src/shims/unix/dlsym.rs @@ -10,7 +10,7 @@ pub enum Dlsym { Linux(linux::Dlsym), MacOs(macos::Dlsym), - FreeBSD(freebsd::Dlsym), + FreeBsd(freebsd::Dlsym), } impl Dlsym { @@ -20,7 +20,7 @@ pub fn from_str<'tcx>(name: &str, target_os: &str) -> InterpResult<'tcx, Option< Ok(match target_os { "linux" => linux::Dlsym::from_str(name)?.map(Dlsym::Linux), "macos" => macos::Dlsym::from_str(name)?.map(Dlsym::MacOs), - "freebsd" => freebsd::Dlsym::from_str(name)?.map(Dlsym::FreeBSD), + "freebsd" => freebsd::Dlsym::from_str(name)?.map(Dlsym::FreeBsd), _ => unreachable!(), }) } @@ -43,7 +43,7 @@ fn call_dlsym( match dlsym { Dlsym::Linux(dlsym) => linux::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret), Dlsym::MacOs(dlsym) => macos::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret), - Dlsym::FreeBSD(dlsym) => + Dlsym::FreeBsd(dlsym) => freebsd::EvalContextExt::call_dlsym(this, dlsym, args, dest, ret), } }