rename ./lib to ./disasm

This commit is contained in:
Richard Patel 2021-08-16 22:54:20 +02:00
parent 169b206a05
commit ea6545f7e3
9 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[workspace] [workspace]
members = [ members = [
"lib", "disasm",
"macros", "macros",
"fuzz", "fuzz",
"rand", "rand",

View File

@ -23,7 +23,7 @@ def dump_mask(line):
def main(): def main():
with open("patterns.txt", "r") as patterns, open( with open("patterns.txt", "r") as patterns, open(
"../lib/src/isa.rs", "w" "../disasm/src/isa.rs", "w"
) as isa_file: ) as isa_file:
sys.stdout = isa_file sys.stdout = isa_file
print("use ppc750cl_macros::isa;") print("use ppc750cl_macros::isa;")

View File

@ -9,4 +9,4 @@ repository = "https://github.com/terorie/ppc750cl"
[dependencies] [dependencies]
num_cpus = "1.13" num_cpus = "1.13"
ppc750cl = { path = "../lib", version = "0.1.0" } ppc750cl = { path = "../disasm", version = "0.1.0" }

View File

@ -8,6 +8,6 @@ description = "Generate random PowerPC 750CL instructions"
repository = "https://github.com/terorie/ppc750cl" repository = "https://github.com/terorie/ppc750cl"
[dependencies] [dependencies]
ppc750cl = { path = "../lib", version = "0.1.0" } ppc750cl = { path = "../disasm", version = "0.1.0" }
rand_core = "0.5" rand_core = "0.5"
sfmt = "0.6" sfmt = "0.6"