File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 11def _impl (settings , attr ):
22 _ignore = (settings , attr )
3-
4- # print("_impl")
5- # print("settings", settings)
6- # print("attr", attr)
7- return {
8- "arm" : {"//command_line_option:cpu" : "arm" },
9- "x86" : {"//command_line_option:cpu" : "x86" },
10- "k8" : {"//command_line_option:cpu" : "k8" },
11- }
3+ return {"//command_line_option:cpu" : "beam" }
124
135beam_transition = transition (
146 implementation = _impl ,
Original file line number Diff line number Diff line change @@ -16,15 +16,6 @@ ErlcOptsInfo = provider(
1616 },
1717)
1818
19- def _transition_impl (settings , attr ):
20- return {"//command_line_option:cpu" : "beam" }
21-
22- transition = transition (
23- implementation = _transition_impl ,
24- inputs = [],
25- outputs = ["//command_line_option:cpu" ],
26- )
27-
2819def _impl (ctx ):
2920 if len (ctx .attr .outs ) == 0 :
3021 fail ("attr outs must not be empty" )
132123
133124erlang_bytecode = rule (
134125 implementation = _impl ,
135- cfg = transition ,
126+ cfg = beam_transition ,
136127 attrs = {
137128 "app_name" : attr .string (),
138129 "hdrs" : attr .label_list (
You can’t perform that action at this time.
0 commit comments