Skip to content

Check that Rust config is enabled #1910

@gctucker

Description

@gctucker

As per the discussion on #1890 with @ojeda:

By the way, this is true if there is no reconfiguring; otherwise, Rust gets disabled automatically. Either way, it may be a good idea to check with make LLVM=1 rustavailable and/or inspecting CONFIG_RUST=y in the config -- not sure if we are doing something like that already (or if something else will break if Rust got disabled for any reason, e.g. a test that checks one of the Rust samples got built/ran successfully or similar -- we do this kind of thing in our GitHub CI).

So for Rust builds, we could add steps to do those checks with to have a clear error rather than having a build silently completing without Rust support.

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