{"id":1700,"date":"2022-03-23T15:34:36","date_gmt":"2022-03-23T06:34:36","guid":{"rendered":"https:\/\/leenux.site\/?p=1700"},"modified":"2022-03-25T02:18:49","modified_gmt":"2022-03-24T17:18:49","slug":"rust-rust-%ec%96%b8%ec%96%b4-%ec%84%a4%ec%b9%98-%eb%b0%8f-%ec%8b%9c%ec%9e%91%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1700","title":{"rendered":"[Rust] Rust \uc5b8\uc5b4 \uc124\uce58 \ubc0f \uc2dc\uc791\ud558\uae30"},"content":{"rendered":"\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ud504\ub85c\uadf8\ub798\ubc0d\uc740 \ubb34\uc5c7\uc778\uac00??<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\"><strong>\ub7ec\uc2a4\ud2b8\ub294 \ubaa8\uc9c8\ub77c \ub9ac\uc11c\uce58\uc5d0\uc11c \uac1c\ubc1c\ud55c \ubc94\uc6a9 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc774\ub2e4. \uc21c\uc218 \ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d, \uc5d1\ud130 \uae30\ubc18 \ubcd1\ub82c \ud504\ub85c\uadf8\ub798\ubc0d, \uba85\ub839\ud615 \ud504\ub85c\uadf8\ub798\ubc0d, \uac1d\uccb4 \uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc2a4\ud0c0\uc77c\ub4e4\uc744 \uc9c0\uc6d0\ud55c\ub2e4.<br>\ubaa8\uc9c8\ub77c\uc758 \uc815\ucc45\uc5d0 \ub530\ub77c, \ub7ec\uc2a4\ud2b8\ub294 \uc804\uc801\uc73c\ub85c \uc624\ud508 \uc18c\uc2a4\ub85c \uac1c\ubc1c\ub418\uace0 \uc788\uc73c\uba70, \ucee4\ubba4\ub2c8\ud2f0\ub85c\ubd80\ud130 \ud53c\ub4dc\ubc31\uc744 \ubc1b\uace0 \uc788\ub2e4.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ube4c\ub4dc\uc2dc\uc2a4\ud15c<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\"><strong>\uce74\uace0(cargo)\ub294 \ub7ec\uc2a4\ud2b8\uc758 \ube4c\ub4dc \uc2dc\uc2a4\ud15c\uc774\ub2e4. (Node.js NPM\uacfc \uac19\uc740 \uad00\ub9ac\uc790 \ud234)<br>\ub7ec\uc2a4\ud2b8\ub294 CPU \ubcd1\ud589\ucc98\ub9ac \ubc0f \uba54\ubaa8\ub9ac \ub204\uc218 \ubc29\uc9c0\ub4f1\uc758 \uc5b8\uc5b4 \ucca0\ud559 \ubc14\ud0d5\uc704\uc5d0 \uc124\uacc4\ub41c \ucde8\uc9c0\uc5d0 \ub9de\uac8c \uc548\uc804\uc131\uc73c\ub85c \uc81c\uc791\ub41c \ud504\ub85c\uadf8\ub7a8\uc740 \ube4c\ub4dc \uacfc\uc815\uc5d0\uc11c \uc0ac\uc804\uc5d0 \ubd88\uc548\uc815\ud55c \uacb0\uacfc\ub97c \ubc29\uc9c0\ud560 \uc218 \uc788\ub2e4\ub294 \ube4c\ub4dc\uc2dc\uc2a4\ud15c\uc73c\ub85c\uae4c\uc9c0 \uc774\uc5b4\uc9c0\ub294 \uc644\uc804\ud55c \uc548\uc815\uc131\uc744 \uc2e4\ud604\ud558\uace0 \uc788\ub2e4.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \uc124\uce58 (\uacf5\uc2dd\uc0ac\uc774\ud2b8<\/strong>)<\/p>\n\n\n\n<p><a href=\"https:\/\/www.rust-lang.org\/learn\/get-started\">https:\/\/www.rust-lang.org\/learn\/get-started<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/strong><\/p>\n\n\n\n<pre title=\"\" class=\"wp-block-code has-medium-font-size\"><code lang=\"rust\" class=\"language-rust line-numbers\">cargo new [\ud504\ub85c\uc81d\ud2b8\uba85]<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ud504\ub85c\uc81d\ud2b8 \ube4c\ub4dc<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">cargo build<\/code><\/pre>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\"><strong>\ube4c\ub4dc\uac00 \uc131\uacf5\uc801\uc73c\ub85c \ub418\uba74 \ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud1a0\ub9ac \uacbd\ub85c\uc5d0 target \ud3f4\ub354\uac00 \uc0dd\uc131\uc774\ub418\uace0 \uad00\ub828\ub41c \uc815\ubcf4\ub4e4\uc774 \uc5ec\uae30\uc5d0 \ub9cc\ub4e4\uc5b4 \uc9c4\ub2e4.<br>\/target\/debug\/[\ud504\ub85c\uc81d\ud2b8\uba85].exe<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc2e4\ud589<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">cargo run<\/code><\/pre>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\"><strong>\ube4c\ub4dc\uac00 \uc124\uacf5\uc801\uc73c\ub85c \ub418\uba74 \ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud1a0\ub9ac \uacbd\ub85c\uc5d0\uc11c \uc704\uc5d0 \uba85\ub839\uc5b4\ub97c \uc9c4\ud589\ud558\uba74 \ud504\ub85c\uc81d\ud2b8\uac00 \uc2e4\ud589\uc774 \ub41c\ub2e4.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-black-color has-text-color has-large-font-size\"><strong>\ub7ec\uc2a4\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc5d0\ub7ec \uccb4\ud06c<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-medium-font-size\"><strong>\ub7ec\uc2a4\ud2b8\uc5d0\uc11c \ub514\ubc84\uae45\uc5c6\uc774 \ud504\ub85c\uc81d\ud2b8 \uc5d0\ub7ec\ub97c \uccb4\ud06c\ud560 \uc218\ub3c4\ub85d \uc9c0\uc6d0\ub41c\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\uc640 \uac19\ub2e4.<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">cargo check<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Rust] Rust \uc5b8\uc5b4 \uc124\uce58 \ubc0f \uc2dc\uc791\ud558\uae30<\/p>\n","protected":false},"author":1,"featured_media":1701,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[108],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1700"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1700"}],"version-history":[{"count":3,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1700\/revisions"}],"predecessor-version":[{"id":1706,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1700\/revisions\/1706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1701"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}