From 8a2d81877571a53bf1eb150f082f5b3d748c7402 Mon Sep 17 00:00:00 2001 From: Danny Willems Date: Wed, 20 Nov 2024 11:30:54 +0100 Subject: [PATCH] o1vm/riscv32: rename resources directory into riscv32im --- .../programs/{riscv32i => riscv32im}/fibonacci | Bin .../programs/{riscv32i => riscv32im}/no-action | Bin o1vm/tests/test_elf_loader.rs | 2 +- o1vm/tests/test_riscv_elf.rs | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename o1vm/resources/programs/{riscv32i => riscv32im}/fibonacci (100%) rename o1vm/resources/programs/{riscv32i => riscv32im}/no-action (100%) diff --git a/o1vm/resources/programs/riscv32i/fibonacci b/o1vm/resources/programs/riscv32im/fibonacci similarity index 100% rename from o1vm/resources/programs/riscv32i/fibonacci rename to o1vm/resources/programs/riscv32im/fibonacci diff --git a/o1vm/resources/programs/riscv32i/no-action b/o1vm/resources/programs/riscv32im/no-action similarity index 100% rename from o1vm/resources/programs/riscv32i/no-action rename to o1vm/resources/programs/riscv32im/no-action diff --git a/o1vm/tests/test_elf_loader.rs b/o1vm/tests/test_elf_loader.rs index 67095cfd95..eba0fdf28e 100644 --- a/o1vm/tests/test_elf_loader.rs +++ b/o1vm/tests/test_elf_loader.rs @@ -5,7 +5,7 @@ fn test_correctly_parsing_elf() { let curr_dir = std::env::current_dir().unwrap(); let path = curr_dir.join(std::path::PathBuf::from( - "resources/programs/riscv32i/fibonacci", + "resources/programs/riscv32im/fibonacci", )); let state = o1vm::elf_loader::parse_riscv32(&path).unwrap(); diff --git a/o1vm/tests/test_riscv_elf.rs b/o1vm/tests/test_riscv_elf.rs index 47a8c3251e..b71de4d100 100644 --- a/o1vm/tests/test_riscv_elf.rs +++ b/o1vm/tests/test_riscv_elf.rs @@ -27,7 +27,7 @@ fn test_instruction_can_be_converted_into_string() { fn test_no_action() { let curr_dir = std::env::current_dir().unwrap(); let path = curr_dir.join(std::path::PathBuf::from( - "resources/programs/riscv32i/no-action", + "resources/programs/riscv32im/no-action", )); let state = o1vm::elf_loader::parse_riscv32(&path).unwrap(); let mut witness = Env::::create(PAGE_SIZE.try_into().unwrap(), state);