diff options
author | hiddenpath <hiddenpath@yandex-team.com> | 2024-04-02 23:50:23 +0300 |
---|---|---|
committer | hiddenpath <hiddenpath@yandex-team.com> | 2024-04-03 00:02:31 +0300 |
commit | 8923c6d2c438e0aeed2e06b8b0275e1864eeee33 (patch) | |
tree | 6b5e476699fc0be5091cb650654ef5f602c8afff /build/scripts/go_tool.py | |
parent | d18afd09df2a08cd023012593b46109b77713a6c (diff) | |
download | ydb-8923c6d2c438e0aeed2e06b8b0275e1864eeee33.tar.gz |
Update golang to 1.22.1
2967d19c907adf59101a1f47b4208bd0b04a6186
Diffstat (limited to 'build/scripts/go_tool.py')
-rw-r--r-- | build/scripts/go_tool.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/build/scripts/go_tool.py b/build/scripts/go_tool.py index 26920553b5..7cbfe06372 100644 --- a/build/scripts/go_tool.py +++ b/build/scripts/go_tool.py @@ -18,7 +18,7 @@ import process_whole_archive_option as pwa arc_project_prefix = 'a.yandex-team.ru/' # FIXME: make version-independent -std_lib_prefix = 'contrib/go/_std_1.19/src/' +std_lib_prefix = 'contrib/go/_std_1.22/src/' vendor_prefix = 'vendor/' vet_info_ext = '.vet.out' vet_report_ext = '.vet.txt' @@ -435,14 +435,6 @@ def do_compile_go(args): def do_compile_asm(args): - def need_compiling_runtime(import_path): - return ( - import_path in ('runtime', 'reflect', 'syscall') - or import_path.startswith('runtime/internal/') - or compare_versions('1.17', args.goversion) >= 0 - and import_path == 'internal/bytealg' - ) - assert len(args.srcs) == 1 and len(args.asm_srcs) == 1 cmd = [args.go_asm] cmd += get_trimpath_args(args) @@ -451,8 +443,6 @@ def do_compile_asm(args): # if compare_versions('1.16', args.goversion) >= 0: cmd += ['-p', args.import_path] - if need_compiling_runtime(args.import_path): - cmd += ['-compiling-runtime'] if args.asm_flags: cmd += args.asm_flags |