Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove useless import #35934

Merged
merged 1 commit into from
Sep 2, 2024
Merged

remove useless import #35934

merged 1 commit into from
Sep 2, 2024

Conversation

zirain
Copy link
Member

@zirain zirain commented Sep 1, 2024

Commit Message: remove unseless import, which broken macos build, see #35933
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@zirain zirain requested a review from mattklein123 as a code owner September 1, 2024 13:26
Copy link
Contributor

@dbarbosapn dbarbosapn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, my bad 😄

Would be nice to know why this breaks macos build though.
Also, @mattklein123 could the formatting CI check (and tool) check (and remove) unused imports?

@zirain
Copy link
Member Author

zirain commented Sep 1, 2024

Oops, my bad 😄

Would be nice to know why this breaks macos build though. Also, @mattklein123 could the formatting CI check (and tool) check (and remove) unused imports?

Error: ./source/extensions/filters/network/redis_proxy/proxy_filter.h:3:10: fatal error: 'bits/types/time_t.h' file not found
Error: ERROR: /Users/runner/work/envoy/envoy/source/extensions/filters/network/redis_proxy/BUILD:120:17: Compiling source/extensions/filters/network/redis_proxy/proxy_filter.cc failed: (Exit 1): wrapped_clang_pp failed: error executing command (from target //source/extensions/filters/network/redis_proxy:proxy_filter_lib)

not sure why passed on linux but failed on mac m1.

Copy link
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @zirain

@phlax phlax merged commit cbfea5b into envoyproxy:main Sep 2, 2024
39 checks passed
@phlax
Copy link
Member

phlax commented Sep 2, 2024

@dbarbosapn if you can suggest some tooling and we can make it work with bazel then i think that would be a great idea

this conversation has come up previously - but not sure how best to resolve - there is "include what you use" but that does something slightly different (if related)

@zirain zirain deleted the fix-macos-build branch September 2, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants