From 2c5513bdfd3f75a2664b899a0bed7e22f68f71ca Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 3 Aug 2023 18:41:32 +0800 Subject: [PATCH] :memo: Update dev doc https://github.com/siyuan-note/siyuan/issues/8901#issuecomment-1663745199 --- .github/CONTRIBUTING.md | 3 +++ .github/CONTRIBUTING_zh_CN.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index bf6d5b044..642d0b820 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -36,6 +36,9 @@ Note: In the development environment, the kernel process will not be automatical ## Kernel +1. Install the latest version of [golang](https://go.dev/) +2. Open CGO support, that is, configure the environment variable `CGO_ENABLED=1` + ### Desktop * `cd kernel` diff --git a/.github/CONTRIBUTING_zh_CN.md b/.github/CONTRIBUTING_zh_CN.md index 3bce33318..173f67ac6 100644 --- a/.github/CONTRIBUTING_zh_CN.md +++ b/.github/CONTRIBUTING_zh_CN.md @@ -38,6 +38,9 @@ NPM 镜像: ## 内核 +1. 安装最新版 [golang](https://go.dev/) +2. 打开 CGO 支持,即配置环境变量 `CGO_ENABLED=1` + ### 桌面端 * `cd kernel`