{"action":"opened","issue":{"url":"https://api.github.com/repos/TheBigFish/blog/issues/11","repository_url":"https://api.github.com/repos/TheBigFish/blog","labels_url":"https://api.github.com/repos/TheBigFish/blog/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/TheBigFish/blog/issues/11/comments","events_url":"https://api.github.com/repos/TheBigFish/blog/issues/11/events","html_url":"https://github.com/TheBigFish/blog/issues/11","id":395450850,"node_id":"MDU6SXNzdWUzOTU0NTA4NTA=","number":11,"title":"rust 安装及配置","user":{"login":"TheBigFish","id":10334759,"node_id":"MDQ6VXNlcjEwMzM0NzU5","avatar_url":"https://avatars3.githubusercontent.com/u/10334759?v=4","gravatar_id":"","url":"https://api.github.com/users/TheBigFish","html_url":"https://github.com/TheBigFish","followers_url":"https://api.github.com/users/TheBigFish/followers","following_url":"https://api.github.com/users/TheBigFish/following{/other_user}","gists_url":"https://api.github.com/users/TheBigFish/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBigFish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBigFish/subscriptions","organizations_url":"https://api.github.com/users/TheBigFish/orgs","repos_url":"https://api.github.com/users/TheBigFish/repos","events_url":"https://api.github.com/users/TheBigFish/events{/privacy}","received_events_url":"https://api.github.com/users/TheBigFish/received_events","type":"User","site_admin":false},"labels":[{"id":1178701766,"node_id":"MDU6TGFiZWwxMTc4NzAxNzY2","url":"https://api.github.com/repos/TheBigFish/blog/labels/Rust","name":"Rust","color":"282828","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T03:58:15Z","updated_at":"2019-01-03T03:58:15Z","closed_at":null,"author_association":"OWNER","body":"# rust 安装及配置\r\n\r\n## 配置参数\r\n\r\n```bash\r\nvi ~/.bashrc\r\n\r\n#add\r\nexport CARGO_HOME=\"~/.cargo/\"\r\nexport RUSTBINPATH=\"~/.cargo/bin\"\r\nexport RUST=\"~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\"\r\nexport RUST_SRC_PATH=\"$RUST/lib/rustlib/src/rust/src\"\r\nexport PATH=$PATH:$RUSTBINPATH\r\n```\r\n\r\n## 修改源\r\n\r\n### .basrc\r\n\r\n```bash\r\nvi ~/.bashrc\r\n#add\r\nexport RUSTUP_DIST_SERVER=https://mirrors.ustc.edu.cn/rust-static\r\nexport RUSTUP_UPDATE_ROOT=https://mirrors.ustc.edu.cn/rust-static/rustup\r\n```\r\n\r\n### config\r\n\r\n```bash\r\nvi ~/.cargo/config\r\n#add\r\n[source.crates-io]\r\nreplace-with = 'ustc'\r\n\r\n[source.ustc]\r\nregistry = \"git://mirrors.ustc.edu.cn/crates.io-index\"\r\n```\r\n\r\n## ch02-00-guessing-game-tutorial.md 编译错误\r\n\r\n```rust\r\n// main.rst 文件顶部增加\r\n\r\nextern crate rand;\r\n```\r\n"}}
{"actor":{"display_login":"TheBigFish"}}