Commit d48fc0a
fix(windows): address PR #470 review comments
- Remove unsafe `RAC_ORT_PATH` macro from rac_platform_compat.h — it
returned `const wchar_t*` into a destroyed temporary `std::wstring`,
UB at every call site. Replaced with a doc comment pinning the safe
named-local pattern. Macro was never invoked; no code changes needed.
(greptile #3081984814, coderabbit #3082012163)
- Guard `ENABLE_LIBGCC` with `if(MSVC)` so Linux+GCC keeps the default
OFF behaviour; only MSVC forces it ON. Add rationale comment.
(greptile #3081984920)
- Drop stale "Windows" from the backtrace-not-supported fallback
comment in rac_structured_error.cpp — Windows has its own
`CaptureStackBackTrace` branch now. (greptile #3081985002)
- Fix malformed MSVC generator expression in RAG CMakeLists.txt: use
semicolon-separated flag list instead of space-separated so CMake
parses all three `/wd` warning suppressions correctly.
(coderabbit #3082012173)
macOS verification: `cmake --build` 100% clean, 51/51 tests pass.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0c7e4fa commit d48fc0a
5 files changed
Lines changed: 19 additions & 16 deletions
File tree
- sdk/runanywhere-commons
- include/rac/core
- src
- backends/onnx
- core
- features/rag
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
251 | 260 | | |
252 | 261 | | |
253 | 262 | | |
| |||
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
204 | 198 | | |
205 | 199 | | |
206 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
570 | | - | |
| 570 | + | |
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments