Skip to content

Building with maturin shows new warring #35

Open
@igalshilman

Description

@igalshilman

running maturin dev -E ... emits warning of type:

warning: unexpected `cfg` condition value: `gil-refs`
   --> src/lib.rs:188:1
    |
188 | / create_exception!(
189 | |     restate_sdk_python_core,
190 | |     VMException,
191 | |     pyo3::exceptions::PyException,
192 | |     "Restate VM exception."
193 | | );
    | |_^
    |
    = note: no expected values for `feature`
    = help: consider adding `gil-refs` 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 conditional configuration
    = note: `#[warn(unexpected_cfgs)]` on by default
    = note: this warning originates in the macro `$crate::impl_exception_boilerplate` which comes from the expansion of the macro `create_exception` (in Nightly builds, run with -Z macro-backtrace for more info)

``

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions