jyn

Results 247 issues of jyn

### Problem The RUSTC env variable is provided to build scripts by cargo. According to the docs: https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-env-changed > It is not necessary to use this for environment variables like...

C-bug
A-rebuild-detection

Right now, failed tests have output like this: Output ``` test minicrater::resource_exhaustion ... FAILED failures: ---- minicrater::resource_exhaustion stdout ---- Difference between expected and actual reports: { "categories": [], "comparison_colors": {},...

_Originally posted by @jyn514 in https://github.com/rust-lang/crater/pull/543#issuecomment-689908475_

Right now, I'm working with this monstrosity: ```rust let package = serde_json::from_value(serde_json::json!({ "packages": [ /* { "name": "doom-rustdoc", "version": "1.0.0", "id": "doom-rustdoc 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "license": "Unlicense", "license_file": null, "description": "Doom...

Right now, there's an example on the front page, which is much appreciated: ```rust let mut command = Command::new("cargo") .args(&["build", "--message-format=json-render-diagnostics"]) .stdout(Stdio::piped()) .spawn() .unwrap(); let reader = std::io::BufReader::new(command.stdout.take().unwrap()); for message...

In the common case when converting from UTF8 to UTF8, or the string is all ASCII, this avoids an extra heap allocation for the caller if they only have a...

I ran the following test just now, which passed: ```rust assert_json_include!(actual: &serialized, expected: serde_json::json!({ "x": [0], "y": [1, 3], })) ``` Then I changed it to ```rust assert_json_include!(actual: &serialized, expected:...

``` error: failed to run custom build command for `nwind v0.1.0 (https://github.com/koute/not-perf.git?rev=20e4ddc#20e4ddc2)` Caused by: process didn't exit successfully: `/home/jnelson/rust-community/bytehound/target/release/build/nwind-37356a14aefb82cf/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-changed=src/arch/amd64_get_regs.s cargo:rerun-if-changed=src/arch/amd64_trampoline.s TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL...

``` $ cargo outdated error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index` Caused by: failed to load source for dependency `rustc-std-workspace-alloc` Caused by: Unable to update /tmp/cargo-outdatedkH8WkV/library/rustc-std-workspace-alloc Caused by: failed to...

See for example the following output: ``` Benchmarking set allocating: Collecting 100 samples in estimated 5.0539 s (404k itera set allocating time: [13.266 us 13.757 us 14.321 us] change: [+25.539%...

Bug
Investigate
Beginner