Skip to content

Commit

Permalink
fixed the warning about multiple targets with the same name
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasJowett committed Feb 26, 2024
1 parent 3fec274 commit e83412e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
name = "halvar"
version = "0.1.0"
edition = "2021"
authors = ["Thomas Jowett <https://github.com/ThomasJowett"]
authors = ["Thomas Jowett <https://github.com/ThomasJowett>"]
description = "A 3D Renderer"
license = "MIT"

[package.metadata.bundle]
name = "Halvar"
identifier = "com.ThomasJowett.halvar"
# icon = "path/to/icon.icns"

[lib]
name = "halvar"
crate-type = ["cdylib", "rlib"]

[[bin]]
name = "halvar_viewer"
path = "src/main.rs"

[dependencies]
cfg-if = "1"
Expand All @@ -25,7 +30,6 @@ bytemuck = { version = "1.12", features = ["derive"] }
image = "0.24"
anyhow = "1.0"


[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.6"
console_log = "1.0"
Expand Down

0 comments on commit e83412e

Please sign in to comment.