forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grpc.patch
51 lines (45 loc) · 1.71 KB
/
grpc.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
diff --git a/BUILD b/BUILD
index 06b69411a8..05cd878ae8 100644
--- a/BUILD
+++ b/BUILD
@@ -29,7 +29,7 @@ licenses(["reciprocal"])
default_visibility = ["//visibility:public"],
features = [
"-parse_headers",
- "layering_check",
+ "-layering_check",
],
)
diff --git a/src/core/BUILD b/src/core/BUILD
index 1bb970e049..81265483e9 100644
--- a/src/core/BUILD
+++ b/src/core/BUILD
@@ -24,7 +24,7 @@ licenses(["reciprocal"])
package(
default_visibility = ["//:__subpackages__"],
features = [
- "layering_check",
+ "-layering_check",
],
)
diff --git a/src/core/lib/promise/detail/promise_like.h b/src/core/lib/promise/detail/promise_like.h
--- a/src/core/lib/promise/detail/promise_like.h 2024-04-18 19:47:19.524155042 +0000
+++ b/src/core/lib/promise/detail/promise_like.h 2024-04-18 23:40:29.050761807 +0000
@@ -71,7 +71,7 @@
template <typename F>
class PromiseLike<F, absl::enable_if_t<!std::is_void<
- typename std::result_of<F()>::type>::value>> {
+ typename std::invoke_result<F>::type>::value>> {
private:
GPR_NO_UNIQUE_ADDRESS F f_;
diff --git a/bazel/generate_cc.bzl b/bazel/generate_cc.bzl
index a2c7f3a1bb..cd023ebb06 100644
--- a/bazel/generate_cc.bzl
+++ b/bazel/generate_cc.bzl
@@ -134,7 +134,7 @@ def generate_cc_impl(ctx):
# Include the output directory so that protoc puts the generated code in the
# right directory.
- arguments.append("--proto_path={0}{1}".format(dir_out, proto_root))
+ arguments.append("--proto_path={0}".format(dir_out))
arguments += [_get_srcs_file_path(proto) for proto in protos]
# create a list of well known proto files if the argument is non-None