diff --git a/Cargo.toml b/Cargo.toml index bc6f917..adfa56b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] members = [ - "lib", + "disasm", "macros", "fuzz", "rand", diff --git a/codegen/gen_masks.py b/codegen/gen_masks.py index eefb857..5ffa043 100644 --- a/codegen/gen_masks.py +++ b/codegen/gen_masks.py @@ -23,7 +23,7 @@ def dump_mask(line): def main(): with open("patterns.txt", "r") as patterns, open( - "../lib/src/isa.rs", "w" + "../disasm/src/isa.rs", "w" ) as isa_file: sys.stdout = isa_file print("use ppc750cl_macros::isa;") diff --git a/lib/Cargo.toml b/disasm/Cargo.toml similarity index 100% rename from lib/Cargo.toml rename to disasm/Cargo.toml diff --git a/lib/src/formatter.rs b/disasm/src/formatter.rs similarity index 100% rename from lib/src/formatter.rs rename to disasm/src/formatter.rs diff --git a/lib/src/isa.rs b/disasm/src/isa.rs similarity index 100% rename from lib/src/isa.rs rename to disasm/src/isa.rs diff --git a/lib/src/lib.rs b/disasm/src/lib.rs similarity index 100% rename from lib/src/lib.rs rename to disasm/src/lib.rs diff --git a/lib/src/macros.rs b/disasm/src/macros.rs similarity index 100% rename from lib/src/macros.rs rename to disasm/src/macros.rs diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index eabe251..f8d0f92 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -9,4 +9,4 @@ repository = "https://github.com/terorie/ppc750cl" [dependencies] num_cpus = "1.13" -ppc750cl = { path = "../lib", version = "0.1.0" } +ppc750cl = { path = "../disasm", version = "0.1.0" } diff --git a/rand/Cargo.toml b/rand/Cargo.toml index 088e46f..66cdce2 100644 --- a/rand/Cargo.toml +++ b/rand/Cargo.toml @@ -8,6 +8,6 @@ description = "Generate random PowerPC 750CL instructions" repository = "https://github.com/terorie/ppc750cl" [dependencies] -ppc750cl = { path = "../lib", version = "0.1.0" } +ppc750cl = { path = "../disasm", version = "0.1.0" } rand_core = "0.5" sfmt = "0.6"