Skip to content

Commit e4bc149

Browse files
authored
Add target for no exceptions (#12603)
Summary: Current library only supports exceptions Add another target that does not support exceptions for certain embedded applications Differential Revision: D78501952
1 parent d9e99cb commit e4bc149

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

backends/cortex_m/ops/targets.bzl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,16 @@ def define_common_targets():
6868
visibility = ["PUBLIC"],
6969
define_static_targets = True,
7070
)
71+
72+
executorch_generated_lib(
73+
name = "cortex_m_no_except_generated_lib",
74+
deps = [
75+
":ops_lib",
76+
":cortex_m_operators",
77+
],
78+
functions_yaml_target = ":operators.yaml",
79+
platforms = CXX,
80+
visibility = ["PUBLIC"],
81+
define_static_targets = True,
82+
support_exceptions = False,
83+
)

0 commit comments

Comments
 (0)