Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/main/starlark/rkt_1_4/kotlin/opts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,36 @@ _KOPTS = {
"all": ["-Xjvm-default=all"],
},
),
"x_no_call_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions for arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-call-assertions"],
},
),
"x_no_param_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions on parameters of methods accessible from Java",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-param-assertions"],
},
),
"x_no_receiver_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertion for extension receiver arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-receiver-assertions"],
},
),
"x_no_optimized_callable_references": struct(
args = dict(
default = False,
Expand Down
30 changes: 30 additions & 0 deletions src/main/starlark/rkt_1_5/kotlin/opts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,36 @@ _KOPTS = {
"all": ["-Xjvm-default=all"],
},
),
"x_no_call_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions for arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-call-assertions"],
},
),
"x_no_param_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions on parameters of methods accessible from Java",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-param-assertions"],
},
),
"x_no_receiver_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertion for extension receiver arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-receiver-assertions"],
},
),
"x_no_optimized_callable_references": struct(
args = dict(
default = False,
Expand Down
30 changes: 30 additions & 0 deletions src/main/starlark/rkt_1_6/kotlin/opts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,36 @@ _KOPTS = {
"all": ["-Xjvm-default=all"],
},
),
"x_no_call_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions for arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-call-assertions"],
},
),
"x_no_param_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions on parameters of methods accessible from Java",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-param-assertions"],
},
),
"x_no_receiver_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertion for extension receiver arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-receiver-assertions"],
},
),
"x_no_optimized_callable_references": struct(
args = dict(
default = False,
Expand Down
30 changes: 30 additions & 0 deletions src/main/starlark/rkt_1_7/kotlin/opts.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,36 @@ _KOPTS = {
"all": ["-Xjvm-default=all"],
},
),
"x_no_call_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions for arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-call-assertions"],
},
),
"x_no_param_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertions on parameters of methods accessible from Java",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-param-assertions"],
},
),
"x_no_receiver_assertions": struct(
args = dict(
default = False,
doc = "Don't generate not-null assertion for extension receiver arguments of platform types",
),
type = attr.bool,
value_to_flag = {
True: ["-Xno-receiver-assertions"],
},
),
"x_no_optimized_callable_references": struct(
args = dict(
default = False,
Expand Down