Use package name instead of lib name, default to "rlib"#929
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 |
| scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true } | ||
|
|
||
| [lib] | ||
| name = "{{name}}" |
There was a problem hiding this comment.
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.