Skip to content

Commit 6668988

Browse files
committed
template: turn mygraphics into a lib
1 parent 1a19349 commit 6668988

3 files changed

Lines changed: 0 additions & 12 deletions

File tree

  • generated/graphics
    • cargo-gpu/mygraphics/src
    • spirv-builder/mygraphics/src
  • graphics/mygraphics/src

generated/graphics/cargo-gpu/mygraphics/src/main.rs renamed to generated/graphics/cargo-gpu/mygraphics/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@
7272

7373
pub mod ash_renderer;
7474

75-
pub fn main() -> anyhow::Result<()> {
76-
ash_renderer::main()
77-
}
78-
7975
pub fn enable_debug_layer() -> bool {
8076
std::env::var("DEBUG_LAYER")
8177
.map(|e| !(e == "0" || e == "false"))

generated/graphics/spirv-builder/mygraphics/src/main.rs renamed to generated/graphics/spirv-builder/mygraphics/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@
7272

7373
pub mod ash_renderer;
7474

75-
pub fn main() -> anyhow::Result<()> {
76-
ash_renderer::main()
77-
}
78-
7975
pub fn enable_debug_layer() -> bool {
8076
std::env::var("DEBUG_LAYER")
8177
.map(|e| !(e == "0" || e == "false"))
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@
7272

7373
pub mod ash_renderer;
7474

75-
pub fn main() -> anyhow::Result<()> {
76-
ash_renderer::main()
77-
}
78-
7975
pub fn enable_debug_layer() -> bool {
8076
std::env::var("DEBUG_LAYER")
8177
.map(|e| !(e == "0" || e == "false"))

0 commit comments

Comments
 (0)