-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add compile tag for json implementation #278
feat: add compile tag for json implementation #278
Conversation
Codecov ReportBase: 59.89% // Head: 59.97% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #278 +/- ##
===========================================
+ Coverage 59.89% 59.97% +0.08%
===========================================
Files 79 79
Lines 8158 8158
===========================================
+ Hits 4886 4893 +7
+ Misses 2919 2912 -7
Partials 353 353
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
7126c4b
to
cac5ee5
Compare
compile tag 的位置规范 gofumpt 和 skywalking license header check 是相互冲突的,暂时忽略这个 |
cac5ee5
to
465dcf8
Compare
What type of PR is this?
feat
Check the PR title.
(Optional) Translate the PR title into Chinese.
增加编译tag控制实际使用的json库
(Optional) More detail description for this PR(en: English/zh: Chinese).
en: Add compile tag for json implementation. Sonic is still used by default, but with a cpu compile check. And its available for users to change the default json lib(sonic) to standard json lib through compile tag:
stdjson
zh(optional): 增加编译tag控制json库的选择。Sonic仍然作为默认实现,不过增加了cpu检测(针对不符合sonic要求的cpu自动切换至标准json库)。同时新增了一个编译tag:
stdjson
用于主动切换到标准json实现Which issue(s) this PR fixes:
A better solution to #277