File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,19 @@ bazel_dep(
34
34
version = "3.10.5" ,
35
35
)
36
36
37
+ bazel_dep (
38
+ name = "com_github_rabbitmq_looking_glass" ,
39
+ version = "2.1.0" ,
40
+ repo_name = "looking_glass" ,
41
+ dev_dependency = True ,
42
+ )
43
+
44
+ git_override (
45
+ module_name = "com_github_rabbitmq_looking_glass" ,
46
+ commit = "162266c60c02f55dfb5bb9c1b432d3bc621294cb" ,
47
+ remote = "https://github.com/rabbitmq/looking_glass.git" ,
48
+ )
49
+
37
50
erlang_config = use_extension (
38
51
"@rules_erlang//bzlmod:extensions.bzl" ,
39
52
"erlang_config" ,
Original file line number Diff line number Diff line change @@ -236,16 +236,19 @@ plt(
236
236
name = "deps_plt" ,
237
237
apps = [
238
238
"mnesia" , # keep
239
+ "runtime_tools" , # keep
239
240
],
240
241
for_target = ":erlang_app" ,
241
242
ignore_warnings = True ,
242
243
plt = "//:base_plt" ,
244
+ deps = [
245
+ "@looking_glass//:erlang_app" , # keep
246
+ ],
243
247
)
244
248
245
249
dialyze (
246
250
name = "dialyze" ,
247
- # A few `lg` functions are unknown
248
- dialyzer_opts = without ("-Wunknown" , RABBITMQ_DIALYZER_OPTS ),
251
+ dialyzer_opts = RABBITMQ_DIALYZER_OPTS ,
249
252
plt = ":deps_plt" ,
250
253
target = ":erlang_app" ,
251
254
)
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ trace_qq() ->
78
78
]
79
79
)),
80
80
timer :sleep (10000 ),
81
- lg :stop (),
81
+ _ = lg :stop (),
82
82
profile ().
83
83
84
84
profile () ->
You can’t perform that action at this time.
0 commit comments