stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
61 stars 42 forks source link

Patch XDR for binary fuse filter #1440

Closed SirTyson closed 2 months ago

leighmcculloch commented 2 months ago

Rust 1.80 just started validating cfg values. That is probably the cause of the failing CI. Adding the missing feature is probably the quick fix.

error: unexpected `cfg` condition value: `tracy`
   --> soroban-bench-utils/src/tracker.rs:156:15
    |
156 |         #[cfg(feature = "tracy")]
    |               ^^^^^^^^^^^^^^^^^ help: remove the condition
    |
    = note: no expected values for `feature`
    = help: consider adding `tracy` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking 

Ref: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html#checked-cfg-names-and-values

SirTyson commented 2 months ago

Closing, we figured out how to patch XDR dependency with just a top level patch in Core.