-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
fix incompatible errors when building with bazel 0.26+ #1775
Conversation
hi @lucifer9 other please submit new pr. |
Good question 👍 |
srcs += ctx.files.data | ||
srcs += collect_runfiles(ctx.attr.data) | ||
srcs = depset(transitive = [depset(ctx.files.srcs),depset(ctx.files.data),depset(collect_runfiles(ctx.attr.data))]) | ||
# srcs += ctx.files.srcs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can delete these comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I'll do that
@@ -104,9 +107,35 @@ func Listen(ctx context.Context, address net.Address, port net.Port, streamSetti | |||
|
|||
config := tls.ConfigFromStreamSettings(streamSettings) | |||
if config == nil { | |||
return nil, newError("TLS must be enabled for http transport.").AtWarning() | |||
} | |||
// return nil, newError("TLS must be enabled for http transport.").AtWarning() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
H2C has been sent separately, I suggest you re-initiate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I'll re-initiate PR.
I am not an expert of bazel, just managed to make it work again.