We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
profile.release.rustflags = ["-Zshare-generics=off"]
1 parent dbf9798 commit ab05db4Copy full SHA for ab05db4
Cargo.toml
@@ -1,3 +1,5 @@
1
+cargo-features = ["profile-rustflags"]
2
+
3
[workspace]
4
members = [
5
"examples/basic",
@@ -117,3 +119,8 @@ rev = "2a74b62c26724ff9c67e4e3ad05378a1af53f195"
117
119
118
120
[profile.release]
121
debug = true
122
123
+# FIXME: Work-around for undefined symbol errors that occur with the
124
+# combination of `-Zbuild-std`, `opt-level = "s"`, and `lto = true`
125
+# <https://github.com/rust-lang/rust/issues/108853>
126
+rustflags = ["-Zshare-generics=off"]
0 commit comments