Caution
在使用 Arch Linux 的时候会有很多问题,例如更新的时候出现:PKGBUILD Does not exist
。
需要先更新 gpg 密钥再去更新
sudo pacman -S archlinux-keyring
sudo pacman -Syu
四个原则:
利用 build.rs 构建脚本,https://doc.rust-lang.org/stable/cargo/reference/build-scripts.html#rustc-link-lib
主要是使用以下两个字段来构建:
其中 KIND 可以是以下值之一:
这两个类型有一定联系,但是并不是由谁决定谁。
lock
),但是所有权不能直接被转移{"fileIcons":{"defaultIcon":{"name":"file"},"icons":[{"name":"html","fileExtensions":["htm","html","xhtml","html_vm","asp"]},{"name":"pug","fileExtensions":["jade","pug"],"fileNames":[".pug-lintrc",".pug-lintrc.js",".pug-lintrc.json"]},{"name":"markdown","fileExtensions":["md","markdown","rst"]},{"name":"blink","fileExtensions":["blink"],"light":true},{"name":"css","fileExtensions":["css"]},{"name":"sass","fileExtensions":["scss","sass"]},{"name":"less","fileExtensions":["less"]},{"name":"json","fileExtensions":["json","jsonc","tsbuildinfo","json5","jsonl","ndjson"],"fileNames":[".jscsrc",".jshintrc","composer.lock",".jsbeautifyrc",".esformatter","cdp.pid",".lintstagedrc"]},{"name":"jinja","fileExtensions":["jinja","jinja2","j2","jinja-html"],"light":true},{"name":"proto","fileExtensions":["proto"]},{"name":"playwright","fileNames":["playwright.config.js","playwright.config.mjs","playwright.config.ts","playwright.config.base.js","playwright.config.base.mjs","playwright.config.base.ts","playwright-ct.config.js |
[custom] | |
; AI | |
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,openai.com | |
ruleset=🤖️ 人工智能,[]DOMAIN,cdn.oaistatic.com | |
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,claude.ai | |
ruleset=🤖️ 人工智能,[]DOMAIN-SUFFIX,chatgpt.com | |
;解决 DNS 泄露,无分流群组 | |
ruleset=✅ 自定义,[]DOMAIN-SUFFIX,xn--ngstr-lra8j.com | |
ruleset=✅ 自定义,[]DOMAIN-SUFFIX,services.googleapis.cn | |
ruleset=✅ 自定义,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/Ruleset/GoogleCNProxyIP.list |