8000 sccache/docs/Rust.md at master · eax-/sccache · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"docs":{"items":[{"name":"Jenkins.md","path":"docs/Jenkins.md","contentType":"file"},{"name":"Rust.md","path":"docs/Rust.md","contentType":"file"}],"totalCount":2},"":{"items":[{"name":"docs","path":"docs","contentType":"directory"},{"name":"lru-disk-cache","path":"lru-disk-cache","contentType":"directory"},{"name":"scripts","path":"scripts","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".travis.yml","path":".travis.yml","contentType":"file"},{"name":"Cargo.lock","path":"Cargo.lock","contentType":"file"},{"name":"Cargo.toml","path":"Cargo.toml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"appveyor.yml","path":"appveyor.yml","contentType":"file"}],"totalCount":12}},"fileTreeProcessingTime":13.504472,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":146302288,"defaultBranch":"master","name":"sccache","ownerLogin":"eax-","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2018-08-27T13:36:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5342120?v=4","public":true,"private":false,"isOrgOwned":false},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1619887603.479669","canEdit":false,"refType":"branch","currentOid":"7c52f067f130c290d0916bd8199c30074fc8875a"},"path":"docs/Rust.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/eax-/sccache/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"Rust.md","displayUrl":"https://github.com/eax-/sccache/blob/master/docs/Rust.md?raw=true","headerInfo":{"blobSize":"837 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"996e61c","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Feax-%2Fsccache%2Fblob%2Fmaster%2Fdocs%2FRust.md","isCSV":false,"isRichtext":true,"toc":[],"lineInfo":{"truncatedLoc":"12","truncatedSloc":"11"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/eax-/sccache/blob/master/docs/Rust.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/eax-/sccache/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/eax-/sccache/raw/refs/heads/master/docs/Rust.md","renderImageOrRaw":false,"richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cp dir=\"auto\"\u003esccache now includes experimental support for caching Rust compilation. This includes many caveats, and is primarily focused on caching rustc invocations as produced by cargo. A (possibly-incomplete) list follows:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ccode\u003e--emit\u003c/code\u003e is required.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003e--crate-name\u003c/code\u003e is required.\u003c/li\u003e\n\u003cli\u003eOnly \u003ccode\u003elink\u003c/code\u003e and \u003ccode\u003edep-info\u003c/code\u003e are supported as \u003ccode\u003e--emit\u003c/code\u003e values, and \u003ccode\u003elink\u003c/code\u003e must be present.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003e--out-dir\u003c/code\u003e is required.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003e-o file\u003c/code\u003e is not supported.\u003c/li\u003e\n\u003cli\u003eCompilation from stdin is not supported, a source file must be provided.\u003c/li\u003e\n\u003cli\u003eValues from \u003ccode\u003eenv!\u003c/code\u003e will not be tracked in caching.\u003c/li\u003e\n\u003cli\u003eProcedural macros that read files from the filesystem may not be cached properly\u003c/li\u003e\n\u003cli\u003eTarget specs aren't hashed (e.g. custom target specs)\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eIf you are using Rust 1.18 or later, you can ask cargo to wrap all compilation with sccache by setting \u003ccode\u003eRUSTC_WRAPPER=sccache\u003c/code\u003e in your build environment.\u003c/p\u003e\n\u003c/article\u003e","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/eax-/sccache/branches":{"post":"-PVY1Mo5Kbzir4p-VG5hvovfwBoCwqOvTxUGWf2R8lctIKvwUbyQv_JCZkL_yin_SNJUKtu_muAIMRvSJXuFZg"},"/repos/preferences":{"post":"3XIoiUC_Qea7NYvQMicaFf1pbXE47XdGyxLKDNQEKdQFCC5gF1kB9Y9Oxvv6vzHjdqrTcqSZdg_G-MCtMIfgLQ"}}},"title":"sccache/docs/Rust.md at master · eax-/sccache","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0