Skip to content

Commit e3ae831

Browse files
authored
Remove redundant local import of ErrorCode in test function (#948)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 11fdcdd commit e3ae831

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/hyperlight_host/src/sandbox/initialized_multi_use.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,6 @@ mod tests {
660660
#[ignore]
661661
#[cfg(target_os = "linux")]
662662
fn test_violate_seccomp_filters() -> Result<()> {
663-
#[cfg(feature = "seccomp")]
664-
use hyperlight_common::flatbuffer_wrappers::guest_error::ErrorCode;
665-
666663
fn make_get_pid_syscall() -> Result<u64> {
667664
let pid = unsafe { libc::syscall(libc::SYS_getpid) };
668665
Ok(pid as u64)

src/tests/rust_guests/witguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)