Commit dd134d2
Teensy boards (notably teensy41 with ~500 .o files) blew past Windows'
~32 KB CreateProcessW limit at link time, surfacing as "os error 206:
The filename or extension is too long". Linux (~128 KB) and macOS
(~256 KB) absorbed the same cmdline so CI stayed green while Windows
developers were blocked.
Mirror the existing ArmLinker (STM32/RP2040/NRF52) and Esp32Linker
pattern: on Windows, when args.len() > 50, write the linker args to a
hash-named .rsp under output_dir/tmp/ via
fbuild_core::response_file::write_response_file and invoke
arm-none-eabi-gcc with @<rsp>. Linux/macOS keep the direct invocation.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 73c2d2f commit dd134d2
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
106 | 121 | | |
107 | 122 | | |
108 | 123 | | |
| |||
0 commit comments