tinygo
tinygo copied to clipboard
builder: simplify detection of Clang header paths
This detection mechanism should work on both Debian and Fedora, and hopefully other Linux distributions too.
By simplifying this it should be possible to more easily add exceptions for specific systems.
Note, this should be merged after the coming release to avoid potential disruption.
Hello @QuLogic does this look like it will address some of the issues you have pointed out in Fedora?
@QuLogic did you happen to see this PR? What do you think?
I did not fully test this, but it seems okay, except that I don't think Glob
is guaranteed to be in any order: golang/go#17153
Oops, somehow overlooked this PR. Is it still relevant/needed?
except that I don't think
Glob
is guaranteed to be in any order: golang/go#17153
Fair enough. I've added a sort.Strings
call to be sure.
Is it still relevant/needed?
It's still a simplification and simplifying things is usually a good thing. So I'd say yes.
Just wondering if this still works as we expect?