| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
upatch-build: optimize compiler error display and add execution of clean-cmd Problem: 1. When compiler executable is not found, the error message is not clear enough to help users identify the issue quickly. 2. The clean command specified by --clean-cmd argument is not executed after patch building, which may leave intermediate build artifacts. Solution: 1. Add context information to compiler lookup failure with friendly error message showing the compiler executable path that cannot be found. 2. Execute clean command after patch building process completes to ensure proper cleanup of build artifacts. Changes: - args.rs: Import Context trait and add with_context() to compiler lookup to provide detailed error message like 'Cannot find compiler executable {path}' - main.rs: Add clean command execution after restoring line macros and before final cleanup to ensure build artifacts are properly cleaned This improves user experience by providing clearer error messages and ensures consistent build environment cleanup. Signed-off-by: eshiner <zengfuliangjx@sina.cn> | 5 个月前 | |
upatch-build: rewrite compiler detection Dwarf: 1. remove dwarf::{Dwarf, Relocation} 2. add dwarf::{Producer, ProducerType, ProducerParser, ProducerIterator} 3. rewrite pruducer name parsing logic 4. rewrite producer vesrion parsing logic 5. support llvm assembler & clang compiler Compiler: 1. rename compiler::CompilerInfo -> compiler::Compiler 2. detection only compiles one test object 3. support cross compiler 4. support llvm linker Builder: 1. rewrite compiler detection logic 2. rewrite compiler version check logic 3. rewrite patch linking logic Signed-off-by: renoseven <dev@renoseven.net> | 1 年前 | |
all: clean code Signed-off-by: renoseven <dev@renoseven.net> | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 5 个月前 | ||
| 1 年前 | ||
| 2 年前 |