{"id":10493,"date":"2022-08-20T09:56:53","date_gmt":"2022-08-20T01:56:53","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=10493"},"modified":"2022-08-20T17:35:31","modified_gmt":"2022-08-20T09:35:31","slug":"rust-18-released-cargo","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/rust-18-released-cargo.html","title":{"rendered":"Rust 1.8 \u53d1\u5e03\uff0c\u653e\u5f03Make\u81ea\u4e3b\u5316"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nMozilla \u4e0a\u5468\u53d1\u5e03\u4e86 Rust 1.8\uff0c\u8fd9\u662f\u4e00\u4e2a\u7cfb\u7edf\u7ea7\u522b\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u63d0\u4f9b\u4e0e C \u8bed\u8a00\u76f8\u5f53\u7684\u7f16\u8bd1\u901f\u5ea6\uff0c\u548c\u9ad8\u7ea7\u522b\u7684\u5b89\u5168\u6027\u3002\u8fd9\u6b21\u66f4\u65b0\u6700\u503c\u5f97\u5173\u6ce8\u7684\u662f\uff0cRust \u653e\u5f03\u4e86 Unix \u7cfb\u7edf\u4f20\u7edf\u7684 Make \u5de5\u5177\uff0c\u4f7f\u7528 Rust \u81ea\u5df1\u7684 Cargo \u5305\u7ba1\u7406\u5de5\u5177\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"programe\"
\n\u4e3a\u4e86\u5b9e\u73b0\u81ea\u4e3e\u3001\u51cf\u5c11\u5bf9\u5916\u90e8\u5de5\u5177\u7684\u4f9d\u8d56\uff0cRust \u5fc5\u987b\u901a\u8fc7\u81ea\u5df1\u7684\u8bed\u8a00\u6784\u5efa\u4e00\u4e9b\u5de5\u5177\uff0c\u5176\u4ed6\u8bed\u8a00\u4e5f\u5927\u591a\u90fd\u7ecf\u8fc7\u8fd9\u4e2a\u8fc7\u7a0b\u3002Google \u7684 Go \u8bed\u8a00\uff0c\u4ece1.5\u7248\u672c\u5f00\u59cb\u5176\u7f16\u8bd1\u5668\u548c\u89e3\u91ca\u5668\u90fd\u7531 Go \u8bed\u8a00\u5b9e\u73b0\uff08\u6709\u4e00\u5c0f\u90e8\u5206\u7528\u4e86\u6c47\u7f16\uff09\uff0c\u653e\u5f03\u4e86\u57fa\u4e8e C \u8bed\u8a00\u7684\u5de5\u5177\u3002\u4ece Make \u6362\u5230 Cargo \u7684\u539f\u56e0\u662f\u56e0\u4e3a\u5f88\u591a\u7a0b\u5e8f\u5458\u62b1\u6028\u90e8\u7f72\u5927\u578b\u7684\u5e94\u7528\u65f6\uff0c\u4f1a\u9047\u5230\u5f88\u591a\u8bed\u8a00\u65b9\u9762\u7684\u56f0\u96be\u3002\u5f00\u53d1\u8005\u8bf4\u73b0\u5728\u57fa\u4e8e Make \u7684\u7f16\u8bd1\u7cfb\u7edf\u201c\u5728\u8fd9\u4e2a\u661f\u7403\u4e0a\u53ea\u6709\u4e00\u5c0f\u90e8\u5206\u4eba\u80fd\u591f\u719f\u7ec3\u4f7f\u7528<\/strong>\u201d\uff0c\u8fd9\u5bf9\u4ee5\u53cb\u597d\u7684\u5f00\u53d1\u73af\u5883\u8457\u79f0\u7684 Rust\u662f\u4e0d\u80fd\u5bb9\u5fcd\u7684\u3002
\n\"REPLACE\"
\nRust \u653e\u5f03 Make \u7f16\u8bd1\u7cfb\u7edf\u7684\u53e6\u4e00\u4e2a\u539f\u56e0\u662f\u53ef\u79fb\u690d\u6027\uff0c\u5728 Windows \u73af\u5883\u4e0b\u4f7f\u7528 MSVC \u5de5\u5177\u9700\u8981\"\u75af\u72c2\u3001\u53e4\u602a\"\u7684\u6280\u5de7\u8fd0\u884c\u4e0d\u540c\u7248\u672c\u7684\u5de5\u5177\uff0c\u7279\u522b\u662f\u914d\u7f6e\u811a\u672c\u548c\u7f16\u8bd1\u5de5\u5177\u7684\u65f6\u5019\u3002\u968f\u7740\u517c\u5bb9\u6027\u7684\u4fe1\u606f\u9010\u6e10\u5206\u79bb\u51fa\u6765\uff0c\u793e\u533a\u53ef\u4ee5\u66f4\u597d\u5730\u5e94\u7528\u8fd9\u4e9b\u4fe1\u606f\uff0c\u540c\u6837\uff0c\u6539\u53d8\u7f16\u8bd1\u7cfb\u7edf\u4f7f Rust \u6807\u51c6\u5e93\u548c\u7f16\u8bd1\u5668\u53ef\u4ee5\u4f7f\u75284600\u4ee5\u4e0a\u4e2a\u5df2\u5b58\u5728\u7684 Cargo \u5305\u3002<\/p>\n

Rust \u5e76\u6ca1\u6709\u89e3\u51b3 MSVC \u7f16\u8bd1\u7684\u95ee\u9898\uff0c\u5f88\u591a\u65b0\u7684\u5f00\u53d1\u8bed\u8a00\uff08\u9664\u53bb\u5fae\u8f6f\u652f\u6301\u7684\u90a3\u4e9b\uff09,\u7528\u6237\u90fd\u4f1a\u56e0\u4e3a\u5e73\u53f0\u53e4\u602a\u7684\u7f16\u8bd1\u8fc7\u7a0b\u4f7f\u7528\u6237\u53d7\u632b\uff0cRust \u5df2\u7ecf\u89e3\u51b3\u4e86\u81ea\u8eab\u7684\u95ee\u9898\uff0c\u4ece1.8\u7248\u672c\u5f00\u59cb\uff0c32\u4f4d Windows \u7cfb\u7edf\u53ef\u4ee5\u6b63\u5e38\u5730\u5904\u7406\u9519\u8bef\u3002\u957f\u671f\u6765\u770b\uff0c\u8fd9\u9879\u4e3e\u63aa\u53ef\u4ee5\u6709\u6548\u5730\u907f\u514d\u8fd9\u4e2a\u5751\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-7247-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/rust-18-released-cargo.html<\/a>\u7f16\u8f91\uff1a\u5f20\u5b8f\u5b87\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb Mozilla \u4e0a\u5468\u53d1\u5e03\u4e86 Rust 1.8\uff0c\u8fd9\u662f\u4e00\u4e2a\u7cfb\u7edf\u7ea7\u522b\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u63d0\u4f9b\u4e0e C \u8bed\u8a00\u76f8\u5f53\u7684\u7f16\u8bd1\u901f\u5ea6 […]<\/p>\n","protected":false},"author":317,"featured_media":10502,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-10493","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/10493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/317"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=10493"}],"version-history":[{"count":11,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/10493\/revisions"}],"predecessor-version":[{"id":250578,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/10493\/revisions\/250578"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/10502"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=10493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=10493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=10493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}