Hi,
When building a project that has 2 sibling files with same name but different extension, they both result in the same filename for the object file. In my case:
... .file("rv003usb.c") .file("rv003usb.S") produces two rv003usb.o files, with the latter overwriting the former. Thus, the resulting build either fails or is missing some symbols. I traced this to this line:
| let obj = dst |
| .join(format!("{:016x}-{}", hasher.finish(), basename)) |
| .with_extension("o"); |