From fcc438524c38d1ac336aa8d2b857e4c2338705f3 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 28 Dec 2017 08:16:44 +0000 Subject: [PATCH] firmware: use main.rs as the root source for non-library crates. NFC. --- artiq/firmware/runtime/Cargo.toml | 2 +- artiq/firmware/runtime/{lib.rs => main.rs} | 0 artiq/firmware/satman/Cargo.toml | 2 +- artiq/firmware/satman/{lib.rs => main.rs} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename artiq/firmware/runtime/{lib.rs => main.rs} (100%) rename artiq/firmware/satman/{lib.rs => main.rs} (100%) diff --git a/artiq/firmware/runtime/Cargo.toml b/artiq/firmware/runtime/Cargo.toml index e6c20ba4d..6753261cd 100644 --- a/artiq/firmware/runtime/Cargo.toml +++ b/artiq/firmware/runtime/Cargo.toml @@ -7,7 +7,7 @@ build = "build.rs" [lib] name = "runtime" crate-type = ["staticlib"] -path = "lib.rs" +path = "main.rs" [build-dependencies] build_artiq = { path = "../libbuild_artiq" } diff --git a/artiq/firmware/runtime/lib.rs b/artiq/firmware/runtime/main.rs similarity index 100% rename from artiq/firmware/runtime/lib.rs rename to artiq/firmware/runtime/main.rs diff --git a/artiq/firmware/satman/Cargo.toml b/artiq/firmware/satman/Cargo.toml index f3aa3cc4a..be6abc55f 100644 --- a/artiq/firmware/satman/Cargo.toml +++ b/artiq/firmware/satman/Cargo.toml @@ -7,7 +7,7 @@ build = "build.rs" [lib] name = "satman" crate-type = ["staticlib"] -path = "lib.rs" +path = "main.rs" [build-dependencies] build_artiq = { path = "../libbuild_artiq" } diff --git a/artiq/firmware/satman/lib.rs b/artiq/firmware/satman/main.rs similarity index 100% rename from artiq/firmware/satman/lib.rs rename to artiq/firmware/satman/main.rs