Просмотр исходного кода

README: add Go version note

Signed-off-by: Tianling Shen <[email protected]>
Tianling Shen 3 лет назад
Родитель
Сommit
9aa290b952
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -72,6 +72,19 @@
 
 ### Note
 
+- - -
+#### ⚠ For OpenWrt 21.02 or lower version
+You have to manually upgrade Golang toolchain to [1.18](https://github.com/openwrt/packages/tree/openwrt-22.03/lang/golang/golang) or higher to compile Xray-core.
+
+e.g.:
+
+```bash
+./scripts/feeds update packages
+rm -rf feeds/packages/lang/golang
+svn co https://github.com/openwrt/packages/branches/openwrt-22.03/lang/golang/golang feeds/packages/lang/golang
+```
+- - -
+
 If you want to use this repo with official OpenWrt source tree, the following packages need to be added manually:
 
 - [dns2socks](https://github.com/immortalwrt/packages/tree/master/net/dns2socks)