You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Ah, you're filing an issue about flutter_tools in the dart-lang/native repo. It's better to file issues on the flutter/flutter for code in flutter/flutter, then there's more context.
(I can't transfer this issue, we can only transfer issues between repos in the dart-lang org.)
I believe we always need a C compiler for the target platform to do flutter run / flutter build, which can be validated by running flutter doctor. If flutter doctor does not mandate a native compiler, we must make it nullable indeed.
Of course for data assets, we start invoking it for non native targets, so this whole step should be skipped.
Changing the logic to make it nullable instead of erroring sgtm. As long as we have at least one test covering that we're not simply omitting it always because it just happens to be nullable.
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.The text was updated successfully, but these errors were encountered: