chore: fix commets and format
Update internal/crosscompile/compile/rtlib/rt_test.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Update internal/crosscompile/compile/libc/libc_test.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Update internal/crosscompile/compile/libc/libc_test.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> chore: format contents
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
var needSkipDownload = false
|
||||
|
||||
// getLibcCompileConfigByName retrieves libc compilation configuration by name
|
||||
// Returns compilation file lists and corresponding cflags
|
||||
// Returns the actual libc output dir, compilation config and err
|
||||
func getLibcCompileConfigByName(baseDir, libcName, target, mcpu string) (outputDir string, cfg compile.CompileConfig, err error) {
|
||||
if libcName == "" {
|
||||
err = fmt.Errorf("libc name cannot be empty")
|
||||
@@ -48,7 +48,7 @@ func getLibcCompileConfigByName(baseDir, libcName, target, mcpu string) (outputD
|
||||
}
|
||||
|
||||
// getRTCompileConfigByName retrieves runtime library compilation configuration by name
|
||||
// Returns compilation file lists and corresponding flags for the specified runtime library
|
||||
// Returns the actual libc output dir, compilation config and err
|
||||
func getRTCompileConfigByName(baseDir, rtName, target string) (outputDir string, cfg compile.CompileConfig, err error) {
|
||||
if rtName == "" {
|
||||
err = fmt.Errorf("rt name cannot be empty")
|
||||
|
||||
Reference in New Issue
Block a user