Skip to content

Commit

Permalink
Bump to v0.2.33 (#383)
Browse files Browse the repository at this point in the history
* Bump to v0.2.33

* Makes cargo clippy happy.
  • Loading branch information
Lichtso authored Sep 27, 2022
1 parent 0e29738 commit 6e3ffd4
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "solana_rbpf"
version = "0.2.32"
version = "0.2.33"
description = "Virtual machine and JIT compiler for eBPF programs"
authors = ["Solana Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/rbpf"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ so it should work out of the box by adding it as a dependency in your

```toml
[dependencies]
solana_rbpf = "0.2.32"
solana_rbpf = "0.2.33"
```

You can also use the development version from this GitHub repository. This
Expand Down
6 changes: 3 additions & 3 deletions cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rbpf_cli"
version = "0.2.32"
version = "0.2.33"
description = "CLI to test and analyze eBPF programs"
authors = ["Solana Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/rbpf"
Expand Down
6 changes: 3 additions & 3 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ fn main() {
let syscall_registry = SyscallRegistry::default();
let executable = match matches.value_of("assembler") {
Some(asm_file_name) => {
let mut file = File::open(&Path::new(asm_file_name)).unwrap();
let mut file = File::open(Path::new(asm_file_name)).unwrap();
let mut source = Vec::new();
file.read_to_end(&mut source).unwrap();
assemble::<UserError, TestInstructionMeter>(
Expand All @@ -138,7 +138,7 @@ fn main() {
)
}
None => {
let mut file = File::open(&Path::new(matches.value_of("elf").unwrap())).unwrap();
let mut file = File::open(Path::new(matches.value_of("elf").unwrap())).unwrap();
let mut elf = Vec::new();
file.read_to_end(&mut elf).unwrap();
Executable::<UserError, TestInstructionMeter>::from_elf(&elf, config, syscall_registry)
Expand All @@ -156,7 +156,7 @@ fn main() {
let mut mem = match matches.value_of("input").unwrap().parse::<usize>() {
Ok(allocate) => vec![0u8; allocate],
Err(_) => {
let mut file = File::open(&Path::new(matches.value_of("input").unwrap())).unwrap();
let mut file = File::open(Path::new(matches.value_of("input").unwrap())).unwrap();
let mut memory = Vec::new();
file.read_to_end(&mut memory).unwrap();
memory
Expand Down
6 changes: 3 additions & 3 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "solana_rbpf-fuzz"
version = "0.2.32"
version = "0.2.33"
authors = ["Automatically generated"]
publish = false
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ mod test {
let range = Uniform::new(0, 255);
println!("random bytes");
for _ in 0..1_000 {
let elf_bytes: Vec<u8> = (0..100).map(|_| rng.sample(&range)).collect();
let elf_bytes: Vec<u8> = (0..100).map(|_| rng.sample(range)).collect();
let _ = ElfExecutable::load(Config::default(), &elf_bytes, SyscallRegistry::default());
}

Expand Down
4 changes: 2 additions & 2 deletions test_utils/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test_utils"
version = "0.2.32"
version = "0.2.33"
authors = ["Solana Maintainers <[email protected]>"]
edition = "2018"
publish = false
Expand Down

0 comments on commit 6e3ffd4

Please sign in to comment.