Bump bpf-tools to version v1.4 (#16152)
This commit is contained in:
parent
4f4cffbd03
commit
658ddd1c9c
|
@ -58,6 +58,9 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
|||
let buf = &mut [1_u8, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
||||
compiler_builtins::mem::memmove(&mut buf[0] as *mut u8, &mut buf[9] as *mut u8, 9);
|
||||
assert_eq!(buf[..9], buf[9..]);
|
||||
let buf = &mut [0_u8, 1, 2, 3, 4, 5, 6, 7, 8, 9];
|
||||
compiler_builtins::mem::memmove(&mut buf[1] as *mut u8, &mut buf[0] as *mut u8, 9);
|
||||
assert_eq!(&mut [0_u8, 0, 1, 2, 3, 4, 5, 6, 7, 8], buf);
|
||||
let buf = &mut [1_u8, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
||||
compiler_builtins::mem::memmove(&mut buf[9] as *mut u8, &mut buf[0] as *mut u8, 9);
|
||||
assert_eq!(buf[..9], buf[9..]);
|
||||
|
|
|
@ -92,7 +92,7 @@ if [[ ! -e criterion-$version.md || ! -e criterion ]]; then
|
|||
fi
|
||||
|
||||
# Install Rust-BPF
|
||||
version=v1.3
|
||||
version=v1.4
|
||||
if [[ ! -e bpf-tools-$version.md || ! -e bpf-tools ]]; then
|
||||
(
|
||||
set -e
|
||||
|
|
|
@ -260,7 +260,7 @@ fn build_bpf_package(config: &Config, target_directory: &Path, package: &cargo_m
|
|||
install_if_missing(
|
||||
&config,
|
||||
"bpf-tools",
|
||||
"v1.3",
|
||||
"v1.4",
|
||||
"https://github.com/solana-labs/bpf-tools/releases/download",
|
||||
&PathBuf::from(bpf_tools_filename),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue