当前位置: 首页 > news >正文

云服务器和网站空间深圳网站开发网站

云服务器和网站空间,深圳网站开发网站,用php源码如何建设网站,富阳区住房与建设局网站安装步骤 1、下载RUSTUP-INIT.EXE#xff08;64-BIT#xff09; 2、由于国外源下载依赖太慢#xff0c;因此建议增加win10环境变量配置国内源#xff0c;增加RUSTUP_DIST_SERVER、RUSTUP_UPDATE_ROOT环境变量即可 RUSTUP_DIST_SERVER随便选择其中的一个源就行#xff0c;…安装步骤 1、下载RUSTUP-INIT.EXE64-BIT 2、由于国外源下载依赖太慢因此建议增加win10环境变量配置国内源增加RUSTUP_DIST_SERVER、RUSTUP_UPDATE_ROOT环境变量即可 RUSTUP_DIST_SERVER随便选择其中的一个源就行只要是国内的应该都不慢。 # 字节跳动 RUSTUP_DIST_SERVERhttps://rsproxy.cn RUSTUP_UPDATE_ROOThttps://rsproxy.cn/rustup# 中国科学技术大学 RUSTUP_DIST_SERVERhttps://mirrors.ustc.edu.cn/rust-static RUSTUP_UPDATE_ROOThttps://mirrors.ustc.edu.cn/rust-static/rustup# 清华大学 RUSTUP_DIST_SERVERhttps://mirrors.tuna.tsinghua.edu.cn/rustup# 上海交通大学 RUSTUP_DIST_SERVERhttps://mirrors.sjtug.sjtu.edu.cn/rust-static/环境变量添加后查看win10环境变量效果如下 C:\Users\davidecho %RUSTUP_DIST_SERVER% https://mirrors.tuna.tsinghua.edu.cn/rustupC:\Users\davidecho %RUSTUP_UPDATE_ROOT% https://mirrors.ustc.edu.cn/rust-static/rustupC:\Users\david3、执行RUSTUP-INIT.EXE二进制文件开始安装Rust 4、按回车选择默认 5、等待脚本自行下载依赖直到提示安装完成然后按任意一个按键结束安装 6、验证安装是否成功 6.1、新启动一个命令行终端输入rustc -V查看Rust编译器的版本如果能看到信息说明Rust安装没有啥问题 6.2、新建一个文件命名为main.rs测试一下Rust的Hello World文件内容如下 fn main() {println!(Hello World!); }6.2、执行命令rustc main.rs编译出可执行文件生成的可执行文件名称为main.exe 6.3、执行命令main.exe若看到程序输出字符Hello World!就说明环境搭建的没有问题 7、Cargo是Rust的包管理工具我们依赖的第三方工具就是通过Cargo完成下载的。但是由于Cargo默认的依赖库下载源在国外因此需要修改为国内源步骤如下 7.1、在Cargo的家目录一般在%USERPROFILE%\.cargo目录下创建名为config的配置文件 7.2、配置文件内容为 [source.crates-io] registry https://github.com/rust-lang/crates.io-index # 指定镜像 如tuna、sjtu、ustc或者 rustcc replace-with ustc# 注以下源配置一个即可无需全部# 中国科学技术大学 [source.ustc] registry https://mirrors.ustc.edu.cn/crates.io-index #registry git://mirrors.ustc.edu.cn/crates.io-index# 上海交通大学 [source.sjtu] registry https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/# 清华大学 [source.tuna] registry https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git# rustcc社区 [source.rustcc] registry https://code.aliyun.com/rustcc/crates.io-index.git7.3、保存完文件之后后续不需要关了cargo会自己更新依赖库 8、安装执行过程如下 Welcome to Rust!This will download and install the official compiler for the Rust programming language, and its package manager, Cargo.Rustup metadata and toolchains will be installed into the Rustup home directory, located at:C:\Users\david\.rustupThis can be modified with the RUSTUP_HOME environment variable.The Cargo home directory is located at:C:\Users\david\.cargoThis can be modified with the CARGO_HOME environment variable.The cargo, rustc, rustup and other commands will be added to Cargos bin directory, located at:C:\Users\david\.cargo\binThis path will then be added to your PATH environment variable by modifying the HKEY_CURRENT_USER/Environment/PATH registry key.You can uninstall at any time with rustup self uninstall and these changes will be reverted.Current installation options:default host triple: x86_64-pc-windows-msvcdefault toolchain: stable (default)profile: defaultmodify PATH variable: yes1) Proceed with installation (default) 2) Customize installation 3) Cancel installation info: profile set to default info: default host triple is x86_64-pc-windows-msvc info: syncing channel updates for stable-x86_64-pc-windows-msvc 710.0 KiB / 710.0 KiB (100 %) 21.9 KiB/s in 41s ETA: 0s info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21) info: downloading component cargo5.9 MiB / 5.9 MiB (100 %) 204.8 KiB/s in 1m 16s ETA: 0s info: downloading component clippy2.1 MiB / 2.1 MiB (100 %) 174.6 KiB/s in 13s ETA: 0s info: downloading component rust-docs14.3 MiB / 14.3 MiB (100 %) 171.8 KiB/s in 1m 19s ETA: 0s info: downloading component rust-std17.9 MiB / 17.9 MiB (100 %) 120.6 KiB/s in 1m 42s ETA: 0s info: downloading component rustc58.7 MiB / 58.7 MiB (100 %) 477.4 KiB/s in 6m 36s ETA: 0s info: downloading component rustfmt1.7 MiB / 1.7 MiB (100 %) 870.3 KiB/s in 2s ETA: 0s info: installing component cargo info: installing component clippy info: installing component rust-docs14.3 MiB / 14.3 MiB (100 %) 1.1 MiB/s in 7s ETA: 0s info: installing component rust-std17.9 MiB / 17.9 MiB (100 %) 14.5 MiB/s in 1s ETA: 0s info: installing component rustc58.7 MiB / 58.7 MiB (100 %) 15.0 MiB/s in 4s ETA: 0s info: installing component rustfmt info: default toolchain set to stable-x86_64-pc-windows-msvcstable-x86_64-pc-windows-msvc installed - rustc 1.75.0 (82e1608df 2023-12-21)Rust is installed now. Great!To get started you may need to restart your current shell. This would reload its PATH environment variable to include Cargos bin directory (%USERPROFILE%\.cargo\bin).Press the Enter key to continue.所有安装的文件位置 C:\Users\david\.cargo此目录下安装了Rust相关的很多工具譬如cargo, urstc, rustdoc, rust-gdb, rustup等等C:\Users\david\.rustup 卸载Rust 执行命令rustup self uninstall 更新Rust版本 执行命令rustup update
http://www.hkea.cn/news/14257791/

相关文章:

  • 制作网站结构设计销售类网站开发
  • 北京网站制作很好 乐云践新如何设计公司标志图案
  • 做网站也分内存大小的吗进出口贸易公司取名大全
  • 工装效果图网站网站建设业动态
  • html5 wap网站模板温州网站开发公司
  • 网页制作与网站建设ppt网站超链接怎么做 word
  • 商城网站建设源码阿里巴巴手工活外发加工网
  • 南宁网站建设nnxun河南省实名举报
  • 怎么注册网站 个人重庆建设工程信息网官网app
  • 怎么做情侣网站国外博客写作网站
  • ui自学网站商城小程序定制
  • 移动端网站建设 新闻动态福建省住房和城乡建设厅门户网站
  • 无锡网站制作一般多少钱wordpress 跳转函数
  • 网站运营需要++做哪些工作网站开发 家具销售 文献
  • 网站工程师是做什么的郑州百度推广seo
  • 购物网站创建做模特网站
  • net做公司网站是否适合设置网址
  • 如何制作可以下单的网站农业电商网站建设ppt
  • 招标网站建设方案wordpress有什么局限性
  • 大学生可做的网站主题个人网站设计实验原理
  • 网站链接怎么做标记wordpress每段不同图片
  • 厦门网站建设公司闽icp支持企业网站发布要怎么做
  • 做网站记什么科目wordpress多域名配置文件
  • 网站建设博客作业龙果学院大型网站稳定性建设
  • 手机电影网站怎么做网络营销分析论文
  • 企业网站建设 南通自己设计logo的网站
  • 网站制作的趋势wordpress用户名密码破解
  • 番禺网站建设报价hexo到WordPress
  • 政务网站模板北京装修公司排名电话
  • 宁波高质量品牌网站设计厂家做网站不用编程