We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e08c0 commit 068725cCopy full SHA for 068725c
test/dune
@@ -98,8 +98,14 @@
98
(name backtrace)
99
(libraries domainslib)
100
(modules backtrace)
101
- (enabled_if (and (= %{arch_sixtyfour} true) (<> %{architecture} power) (<> %{architecture} s390x))))
102
- ;; disabled temporarily on bytecode switches https://github.com/ocaml/dune/issues/7845
+ (modes byte native))
+ ;; byte_complete .exes don't include debug+trace info https://github.com/ocaml/dune/issues/7845
103
+ ;; so on a bytecode switch/platform we build a plain bytecode version w/trace info
104
+ ;; and rename it to .exe
105
+(rule
106
+ (target backtrace.exe)
107
+ (action (copy backtrace.bc backtrace.exe))
108
+ (enabled_if (= %{bin-available:ocamlopt} false)))
109
110
(test
111
(name off_by_one)
0 commit comments