Repository navigation
fix: Pin dtolnay/rust-toolchain to the new allowed version - #577
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
333498a to
9470944
Compare
|
@martin-g I'm merging this without review as it fixes the broken main, and the cause of it. It also brings the Github Actions to the requirements of https://github.com/apache/infrastructure-actions, which should prevent this from happening again. |
| miniz_oxide = { default-features = false, version = "0.9.1", features = ["with-alloc"] } | ||
| log = { workspace = true } | ||
| num-bigint = { default-features = false, version = "0.5.0", features = ["std", "serde"] } | ||
| num-bigint = { default-features = false, version = "0.4.8", features = ["std", "serde"] } |
There was a problem hiding this comment.
Upgrading num-bigint (in #572) is what broke main, the bigdecimal dependency is still on 0.4.8 so the types were incompatible. We should probably use the re-export provided by bigdecimal (if we don't use the type somewhere else) so we don't have to manually keep upgrading it together with bigdecimal.
There was a problem hiding this comment.
We use num-bigint also for Decimal, so we shouldn't use the re-export from bigdecimal.
| [dependencies] | ||
| better-panic = { default-features = false, version = "0.3.0" } | ||
| ctor = { default-features = false, version = "0.11.1", features = ["dtor", "proc_macro"] } | ||
| linktime = { default-features = false, version = "0.18.0", features = ["ctor", "dtor", "proc_macro"] } |
There was a problem hiding this comment.
This change should have been a separate PR. It is not related to the ASF rules.
Maybe we should disable the "link-section" since we do not use it ?!
There was a problem hiding this comment.
It should have been, sorry about that. I just noticed that it was very outdated and tried to upgrade it, the noticed that the dtor feature was gone and the crate had a new collection crate called linktime.
The link-section feature should be indeed disabled, I'll open up a PR to fix that.
There was a problem hiding this comment.
Actually the link-section feature is not enabled (default-features = false), it is in the Cargo.lock but that is because Cargo does put optional dependencies in the lockfile (see rust-lang/cargo#10801).
No description provided.