mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Upgrade rust to v1.36.0
This commit is contained in:
parent
963d56fc5e
commit
db5c66a638
3 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ environment:
|
||||||
DENO_BUILD_PATH: $(APPVEYOR_BUILD_FOLDER)\target\release
|
DENO_BUILD_PATH: $(APPVEYOR_BUILD_FOLDER)\target\release
|
||||||
DENO_THIRD_PARTY_PATH: $(APPVEYOR_BUILD_FOLDER)\third_party
|
DENO_THIRD_PARTY_PATH: $(APPVEYOR_BUILD_FOLDER)\third_party
|
||||||
RELEASE_ARTIFACT: deno_win_x64.zip
|
RELEASE_ARTIFACT: deno_win_x64.zip
|
||||||
RUST_VERSION: 1.35.0
|
RUST_VERSION: 1.36.0
|
||||||
RUST_DIR: $(USERPROFILE)\rust-$(RUST_VERSION)
|
RUST_DIR: $(USERPROFILE)\rust-$(RUST_VERSION)
|
||||||
CARGO_HOME: $(RUST_DIR)\cargo
|
CARGO_HOME: $(RUST_DIR)\cargo
|
||||||
RUSTUP_HOME: $(RUST_DIR)\rustup
|
RUSTUP_HOME: $(RUST_DIR)\rustup
|
||||||
|
|
|
@ -5,7 +5,7 @@ git:
|
||||||
depth: 1
|
depth: 1
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- RUST_VERSION=1.35.0
|
- RUST_VERSION=1.36.0
|
||||||
- CARGO_HOME=$TRAVIS_BUILD_DIR/third_party/rust_crates/
|
- CARGO_HOME=$TRAVIS_BUILD_DIR/third_party/rust_crates/
|
||||||
- RUSTUP_HOME=$HOME/.rustup/
|
- RUSTUP_HOME=$HOME/.rustup/
|
||||||
- RUST_BACKTRACE=full
|
- RUST_BACKTRACE=full
|
||||||
|
|
|
@ -174,7 +174,7 @@ cd deno
|
||||||
To ensure reproducible builds, deno has most of its dependencies in a git
|
To ensure reproducible builds, deno has most of its dependencies in a git
|
||||||
submodule. However, you need to install separately:
|
submodule. However, you need to install separately:
|
||||||
|
|
||||||
1. [Rust](https://www.rust-lang.org/en-US/install.html) >= 1.34.1
|
1. [Rust](https://www.rust-lang.org/en-US/install.html) >= 1.36.0
|
||||||
2. [Node](https://nodejs.org/)
|
2. [Node](https://nodejs.org/)
|
||||||
3. Python 2.
|
3. Python 2.
|
||||||
[Not 3](https://github.com/denoland/deno/issues/464#issuecomment-411795578).
|
[Not 3](https://github.com/denoland/deno/issues/464#issuecomment-411795578).
|
||||||
|
@ -961,7 +961,7 @@ $ rust-lldb -- ./target/debug/deno run --allow-net tests/http_bench.ts
|
||||||
# `ImportError: cannot import name _remove_dead_weakref`
|
# `ImportError: cannot import name _remove_dead_weakref`
|
||||||
# In that case, use system python by setting PATH, e.g.
|
# In that case, use system python by setting PATH, e.g.
|
||||||
# PATH=/System/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH
|
# PATH=/System/Library/Frameworks/Python.framework/Versions/2.7/bin:$PATH
|
||||||
(lldb) command script import "/Users/kevinqian/.rustup/toolchains/1.34.1-x86_64-apple-darwin/lib/rustlib/etc/lldb_rust_formatters.py"
|
(lldb) command script import "/Users/kevinqian/.rustup/toolchains/1.36.0-x86_64-apple-darwin/lib/rustlib/etc/lldb_rust_formatters.py"
|
||||||
(lldb) type summary add --no-value --python-function lldb_rust_formatters.print_val -x ".*" --category Rust
|
(lldb) type summary add --no-value --python-function lldb_rust_formatters.print_val -x ".*" --category Rust
|
||||||
(lldb) type category enable Rust
|
(lldb) type category enable Rust
|
||||||
(lldb) target create "../deno/target/debug/deno"
|
(lldb) target create "../deno/target/debug/deno"
|
||||||
|
|
Loading…
Reference in a new issue