-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use package name instead of lib name, default to "rlib" #929
Conversation
CI errors should be fixed in #930 |
I think |
From here it doesn't necessarily say that it's the default. It just says that the compiler will choose the best option |
@@ -11,11 +11,12 @@ scale = { package = "parity-scale-codec", version = "3", default-features = fals | |||
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } | |||
|
|||
[lib] | |||
name = "{{name}}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this goes back to at least 2019 🤷
I've tested this with the |
Yes. But the default should always allow depending on it from another crate. We actively prevented this by setting it to only
This was expected because we set it to |
@ascjones can you add a |
Closes #927.
I have a vague memory of some reasoning that the package name and lib name were separate. However I cannot remember or imagine what it might be, so LFG.