Commit ad40d6e
committed
fix(ml): make MNE_USE_ONNXRUNTIME PUBLIC to fix ABI mismatch
The compile definition was PRIVATE, so only libmne_ml saw it.
Consumers (e.g. test_ml_models) compiled ml_onnx_model.h without
the define and got a smaller class layout (missing ORT member
variables), causing stack corruption ('stack smashing detected').1 parent 8ddc647 commit ad40d6e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments