Skip to content

Failure to identify a C compiler toolchain should not cause an error, only not set config.codeConfig.cCompiler #1811

Open
@mkustermann

Description

@mkustermann

Currently the flutter build system checks if there's any packages with hooks and if so going to run the dart build. When it constructs a config it requires there to be a C compiler.

Though not all users may have a C compiler installed and the hooks may just provide pre-built binaries instead of building from source.

=> So we don't have to error if we can't find a C compiler, maybe the hooks that need to run don't actually need it.

This is related to making config.codeConfig.cCompiler nullable.

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