From 928f57a55b6752fc1975a1eb27f55856f67ce4bd Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 3 Jul 2022 08:08:42 -0700 Subject: [PATCH] Move generated lib.rs into src dir --- Cargo.toml | 1 - lib.rs => src/lib.rs | 2 -- 2 files changed, 3 deletions(-) rename lib.rs => src/lib.rs (93%) diff --git a/Cargo.toml b/Cargo.toml index deb2913..0d7d865 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ autobins = false [lib] name = "c2rust_out" -path = "lib.rs" crate-type = ["staticlib", "rlib"] [dependencies] libc= "0.2" diff --git a/lib.rs b/src/lib.rs similarity index 93% rename from lib.rs rename to src/lib.rs index 1c6316d..0a00309 100644 --- a/lib.rs +++ b/src/lib.rs @@ -8,7 +8,6 @@ #![feature(extern_types)] #![feature(label_break_value)] -pub mod src { pub mod api; pub mod dumper; pub mod emitter; @@ -17,4 +16,3 @@ pub mod parser; pub mod reader; pub mod scanner; pub mod writer; -} // mod src