Skip to content

Commit

Permalink
Fix incorrect imports (AFLplusplus#1758)
Browse files Browse the repository at this point in the history
* Fix incorrect imports

https://doc.rust-lang.org/core/simd/trait.SimdOrd.html

* Fix

* Try fix ci
  • Loading branch information
wtdcode authored Dec 23, 2023
1 parent 16a1522 commit ea5ea34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN rustup default nightly

# Install clang 11, common build tools
RUN apt update && apt install -y build-essential gdb git wget python3-venv ninja-build lsb-release software-properties-common gnupg
RUN wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh 15
RUN wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh 16

# Copy a dummy.rs and Cargo.toml first, so that dependencies are cached
WORKDIR /libafl
Expand Down
2 changes: 1 addition & 1 deletion libafl/src/feedbacks/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use alloc::{
vec::Vec,
};
#[rustversion::nightly]
use core::simd::cmp::SimdOrd;
use core::simd::prelude::SimdOrd;
use core::{
fmt::Debug,
marker::PhantomData,
Expand Down

0 comments on commit ea5ea34

Please sign in to comment.