{"id":13192,"date":"2022-11-27T12:06:54","date_gmt":"2022-11-27T03:06:54","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=13192"},"modified":"2022-11-27T19:27:02","modified_gmt":"2022-11-27T10:27:02","slug":"rust-%ea%b0%9c%eb%b0%9c%ed%99%98%ea%b2%bd-%ea%b5%ac%ec%84%b1","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=13192","title":{"rendered":"Rust \uac1c\ubc1c \ud658\uacbd \uad6c\uc131"},"content":{"rendered":"<p>VS.Code\ub97c \uc774\uc6a9\ud558\ubbc0\ub85c <a href='https:\/\/code.visualstudio.com\/docs\/languages\/rust'>\uc774 \uc0ac\uc774\ud2b8<\/a>\uc5d0\uc11c Rust \uac1c\ubc1c\ud658\uacbd \uad6c\uc131\uc744 \ucc38\uc870\ud558\uc600\uc74c.<\/p>\n<p>\ub9e4\uc6b0 \uac04\ub2e8\ud55c\ub370 <a href='https:\/\/rustup.rs\/'>rustup-init.exe<\/a>\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\uc544 \uc2e4\ud589\uc2dc\ud0a4\uba74 \ucf58\uc194\uc5d0\uc11c \uc124\uce58\uac00 \uc9c4\ud589\ub428. Rust \ucef4\ud30c\uc77c\ub7ec\uc640 Cargo \uc2e4\ud589 \ud30c\uc77c \ub4f1\uc774 \ucd5c\uc2e0 \ubc84\uc804\uc73c\ub85c \uc124\uce58\uac00 \ub418\uba70 Path\uae4c\uc9c0 \uc7a1\uc544\uc90c. \ub098\uc911\uc5d0 Uninstall\uc740 \uc5b4\ucc0c\ud558\ub77c\ub294 \uac83\uc778\uc9c0&#8230; \uadf8\ub0e5 \ud3f4\ub354\uc640 Path \uc7a1\ud78c \uac83\ub9cc \uc81c\uac70\ud558\uba74 \ub418\ub294 \uac83\uc778\uac00? VS.Code\uc5d0\uc11c \ud655\uc7a5\uc740 rust-analyzer\uc640 CodeLLDB\ub97c \uc124\uce58\ud574\uc8fc\uba74 \ub428. \uac01\uac01 \ucf54\ub4dc \ud558\uc77c\ub77c\uc774\ud305 \ub4f1\uc758 \uae30\ub2a5 \uc81c\uacf5\uacfc \ub514\ubc84\uae45 \uae30\ub2a5\uc744 \uc81c\uacf5\ud568.<\/p>\n<p>Rust \ud504\ub85c\uc81d\ud2b8\ub97c \ud558\ub098 \uc0dd\uc131\ud558\uae30 \uc704\ud574\uc11c\ub294 \ucf58\uc124\uc5d0\uc11c \ub2e4\uc74c \ucf54\ub4dc\ub97c \uc2e4\ud589\ud558\uba74 \ub428. \uc6d0\ud558\ub294 \ud3f4\ub354\uc5d0\uc11c \uc544\ub798 \uba85\ub839\uc744 \uc2e4\ud589\ud558\uba74 hello_world\ub77c\ub294 \ud3f4\ub354\uac00 \ub9cc\ub4e4\uc5b4\uc9c0\uace0 \ud544\uc694\ud55c \ud30c\uc77c\ub3c4 \uc0dd\uc131\ub428.<\/p>\n<pre>\r\ncargo new hello_world\r\n<\/pre>\n<p>VS.Code\ub97c \uc2e4\ud589\ud558\uace0 hello_world \ud3f4\ub354\ub97c \uc5f4\uba74 \ub428. \uadf8\ub9ac\uace0 \ucef4\ud30c\uc77c\uc740 VS.Code\uc758 Shell\uc5d0\uc11c \ub2e4\uc74c \uba85\ub839\uc744 \uc2e4\ud589\ud558\uba74 \ub428. \uc544\ub798 \uba85\ub839\uc744 \ud1b5\ud574 \uc2e4\ud589 \ud30c\uc77c\uc774 \ub9cc\ub4e4\uc5b4\uc9d0.<\/p>\n<pre>\r\ncargo build\r\n<\/pre>\n<p>\ucef4\ud30c\uc77c\uacfc \ud568\uaed8 \uc2e4\ud589\uc744 \ub3d9\uc2dc\uc5d0 \ud558\uace0 \uc2f6\ub2e4\uba74 \ub2e4\uc74c \uba85\ub839.<\/p>\n<pre>\r\ncargo run\r\n<\/pre>\n<p>\ubb3c\ub860 VS.Code\uc5d0\uc11c\ub3c4 \uadf8\ub0e5 \uc2e4\ud589\uc774 \uac00\ub2a5\ud558\uace0 \ub77c\uc778 \ub2e8\uc704 \ub514\ubc84\uae45\ub3c4 \uac00\ub2a5\ud568. (\ub2e8, launch.json \ud30c\uc77c \uc0dd\uc131\uc774 \ud544\uc694\ud558\uace0 \uc55e\uc11c \uc5b8\uae09\ud55c CodeLLDB \ud655\uc7a5 \uae30\ub2a5 \uc124\uce58\uac00 \ud544\uc694\ud568.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VS.Code\ub97c \uc774\uc6a9\ud558\ubbc0\ub85c \uc774 \uc0ac\uc774\ud2b8\uc5d0\uc11c Rust \uac1c\ubc1c\ud658\uacbd \uad6c\uc131\uc744 \ucc38\uc870\ud558\uc600\uc74c. \ub9e4\uc6b0 \uac04\ub2e8\ud55c\ub370 rustup-init.exe\ub97c \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\uc544 \uc2e4\ud589\uc2dc\ud0a4\uba74 \ucf58\uc194\uc5d0\uc11c \uc124\uce58\uac00 \uc9c4\ud589\ub428. Rust \ucef4\ud30c\uc77c\ub7ec\uc640 Cargo \uc2e4\ud589 \ud30c\uc77c \ub4f1\uc774 \ucd5c\uc2e0 \ubc84\uc804\uc73c\ub85c \uc124\uce58\uac00 \ub418\uba70 Path\uae4c\uc9c0 \uc7a1\uc544\uc90c. \ub098\uc911\uc5d0 Uninstall\uc740 \uc5b4\ucc0c\ud558\ub77c\ub294 \uac83\uc778\uc9c0&#8230; \uadf8\ub0e5 \ud3f4\ub354\uc640 Path \uc7a1\ud78c \uac83\ub9cc \uc81c\uac70\ud558\uba74 \ub418\ub294 \uac83\uc778\uac00? VS.Code\uc5d0\uc11c \ud655\uc7a5\uc740 rust-analyzer\uc640 CodeLLDB\ub97c \uc124\uce58\ud574\uc8fc\uba74 \ub428. \uac01\uac01 \ucf54\ub4dc \ud558\uc77c\ub77c\uc774\ud305 \ub4f1\uc758 \uae30\ub2a5 \uc81c\uacf5\uacfc \ub514\ubc84\uae45 \uae30\ub2a5\uc744 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=13192\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Rust \uac1c\ubc1c \ud658\uacbd \uad6c\uc131&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[147],"tags":[],"class_list":["post-13192","post","type-post","status-publish","format-standard","hentry","category-rust"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/13192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13192"}],"version-history":[{"count":4,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/13192\/revisions"}],"predecessor-version":[{"id":13196,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/13192\/revisions\/13196"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13192"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}