Skip to content

Ask a question #560

@KingingWang

Description

@KingingWang

My code is currently on the master branch, and I want to ask how to disable i2c from being compiled. Can I only comment out i2c? Because my C code uses i2c, and if Rust also compiles i2c, it will report an error about using new and old versions together at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions