Comments (4)
BTW, it looks like evcxr is broken on nightly. Only noticed yesterday and just looking into it.
from evcxr.
I noticed there is this option:
:time_passes Toggle printing of rustc pass times (requires nightly)
Which, as a consequence, switches to nightly. I am going with that workaround for now
from evcxr.
Tracking the time_passes
flag, I found where the command is built:
let mut command = std::process::Command::new("cargo");
if self.time_passes {
command.arg("+nightly");
}
command
.arg("rustc")
.arg("--message-format=json")
.arg("--")
.arg("-C")
.arg("prefer-dynamic")
.env_remove("CARGO_TARGET_DIR")
.current_dir(self.crate_dir());
if let Some(sccache) = &self.sccache {
command.env("RUSTC_WRAPPER", sccache);
}
if self.time_passes {
command.arg("-Ztime-passes");
}
Doesn't look like there is a way to change the rustc toolchain. Am I wrong here?
from evcxr.
Sorry about the slow reply. That does seem like a useful thing to be able to change. For now the easiest way is probably to set the environment variable RUSTUP_TOOLCHAIN=nightly when running evcxr. e.g.:
RUSTUP_TOOLCHAIN=nightly evcxr
I guess eventually we could have a command to override from within evcxr.
from evcxr.
Related Issues (20)
- Reducing startup time by reusing the pre-compiled directory. HOT 6
- println! does not preserve the order of lines HOT 4
- Output error with comment. HOT 2
- Trying to build a reproducible environment with Nix HOT 14
- Out of order print in the output HOT 4
- New name proposal: Ruins (RUst INteractive Shell) HOT 5
- Hashbrown's `HashMap::get` returns `None` although the key exists HOT 14
- `init.evcxr` and `prelude.rs` placed in the suggested MacOS location doesn't seem to do anything HOT 2
- Listing current REPL deps and manifest from within REPL? HOT 1
- printing colored outputs in the repl? HOT 3
- Double Ctrl-C killing repl unexpectedly HOT 1
- is sccache working properly? HOT 2
- Recompiling each time after I restart the kernel in Linux. HOT 4
- Is it possible to print out the documentation? HOT 7
- The error doesn't print as expected. HOT 2
- not compatible with latest rust 1.72.0 HOT 8
- Cached tokio runtime after panic HOT 1
- Cannot configure (persist) logging configuration HOT 38
- Rust kernel can't work HOT 3
- Slow execution speed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evcxr.