Skip to content

Commit 0fe3f57

Browse files
Be-ingahayzen-kdab
authored andcommitted
meta_project: don't specify sub1/sub2 as rlibs in Cargo.toml
rlibs are the default for library crates; no need to specify that explicitly.
1 parent 1886c82 commit 0fe3f57

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

examples/meta_project/rust/sub1/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ authors = [
1111
edition = "2021"
1212
license = "MIT OR Apache-2.0"
1313

14-
# This will instruct Cargo to create an rlib our main crate is the staticlib
15-
[lib]
16-
crate-type = ["rlib"]
17-
1814
[dependencies]
1915
cxx.workspace = true
2016
cxx-qt.workspace = true

examples/meta_project/rust/sub2/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ authors = [
1111
edition = "2021"
1212
license = "MIT OR Apache-2.0"
1313

14-
# This will instruct Cargo to create an rlib our main crate is the staticlib
15-
[lib]
16-
crate-type = ["rlib"]
17-
1814
[dependencies]
1915
cxx.workspace = true
2016
cxx-qt.workspace = true

0 commit comments

Comments
 (0)