Skip to content

Instantly share code, notes, and snippets.

🥐
re pat

Felix S Klock II pnkfelix

🥐
re pat
Block or report user

Report or block pnkfelix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View dep_graph.dot
digraph {
rankdir=LR;
subgraph curr {
node0 [label="0:Hir(issue_62649[8787])"]; // node: 0 edges: []
node1 [label="1:HirBody(issue_62649[8787])"]; // node: 1 edges: []
node2 [label="2:AllLocalTraitImpls"]; // node: 2 edges: []
node3 [label="3:Hir(issue_62649[8787]::Something[0])"]; // node: 3 edges: []
node4 [label="4:HirBody(issue_62649[8787]::Something[0])"]; // node: 4 edges: []
node5 [label="5:Krate"]; // node: 5 edges: []
node6 [label="6:entry_fn(issue_62649[8787])"]; // node: 6 edges: []
View rlog
dep-graph current:
C fingerprint: Fingerprint(8033322459062765710, 10734229345797624021) kind: Hir(issue_62649[8787]) node: 0 edges: []
C fingerprint: Fingerprint(8033322459062765710, 10734229345797624021) kind: HirBody(issue_62649[8787]) node: 1 edges: []
C fingerprint: Fingerprint(9785122672296426403, 8173264106939382879) kind: AllLocalTraitImpls node: 2 edges: []
C fingerprint: Fingerprint(5891749549791129110, 8400565277213964116) kind: Hir(issue_62649[8787]::Something[0]) node: 3 edges: []
C fingerprint: Fingerprint(5891749549791129110, 8400565277213964116) kind: HirBody(issue_62649[8787]::Something[0]) node: 4 edges: []
C fingerprint: Fingerprint(13382596912105037673, 13226684638787792937) kind: Krate node: 5 edges: []
C fingerprint: Fingerprint(13307939394407243476, 123911068766761009) kind: entry_fn(issue_62649[8787]) node: 6 edges: []
C fingerprint: Fingerprint(13307939394407243476, 123911068766761009) kind: plugin_registrar_fn(issue_62649[8787]) node: 7 edges: [5]
C fingerprint: Fingerprint
View rlog
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(entry_fn(issue_62649[8787])) - BEGIN
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(entry_fn(issue_62649[8787])) - END - successfully marked as green
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(plugin_registrar_fn(issue_62649[8787])) - BEGIN
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(plugin_registrar_fn(issue_62649[8787])) - END - dependency Krate was immediately red
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(proc_macro_decls_static(issue_62649[8787])) - BEGIN
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(proc_macro_decls_static(issue_62649[8787])) - END - dependency Krate was immediately red
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(check_mod_loops(issue_62649[8787])) - BEGIN
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(check_mod_loops(issue_62649[8787])) - END - dependency Hir(issue_62649[8787]) was immediately red
[DEBUG rustc::dep_graph::graph] try_mark_previous_green(c
View td.output
-*- mode: compilation; default-directory: "~/Dev/Mozilla/rust.git/objdir-dbgopt/" -*-
Compilation started at Mon Jan 13 23:01:35
time python /home/pnkfelix/Dev/Mozilla/rust.git/x.py test --stage 1 src/tools/tidy
Updating only changed submodules
Submodules updated in 0.02 seconds
Finished dev [unoptimized] target(s) in 0.10s
Diff in /home/pnkfelix/Dev/Mozilla/rust.git/src/librustc/dep_graph/graph.rs at line 673:
for (current_idx, current_node) in
data.current.data.lock().into_iter_enumerated()
View issue-67611.patch
diff --git a/src/main.rs b/src/main.rs
index 86512cd..52adfc2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -283,12 +283,13 @@ async fn run_server(addr: SocketAddr) {
}
async fn proxy(buf: &[u8]) -> Result<Vec<u8>> {
- let proxy = unsafe { &PROXY };
+ let proxy = unsafe { PROXY.as_slice() };
View issue-67611.patch
diff --git a/src/main.rs b/src/main.rs
index 86512cd..52adfc2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -283,12 +283,13 @@ async fn run_server(addr: SocketAddr) {
}

async fn proxy(buf: &[u8]) -> Result<Vec<u8>> {
- let proxy = unsafe { &PROXY };
+ let proxy = unsafe { PROXY.as_slice() };
View lib.rs
#![crate_type="lib"]
use std::future::Future;
use std::io::Result;
use std::pin::Pin;
use std::task::{Context, Poll};
use std::time::Duration;
pub fn timeout<T>(_duration: Duration, _future: T) -> Timeout<T>
where
View issue65844-3b4b26.sh
# Crash reproducer for clang version 9.0.0 (https://github.com/rust-lang/llvm-project.git 2cb41005ed5c4747b10d2bf01d8779d3bb4ae32d)
# Driver args: "-c" "issue65844.c" "-mno-sse2"
# Original command: "/home/pnkfelix/Dev/Mozilla/rust.git/objdir-dbgopt/build/x86_64-unknown-linux-gnu/llvm/bin/clang-9" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free" "-main-file-name" "issue65844.c" "-mrelocation-model" "static" "-mthread-model" "posix" "-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-target-feature" "-sse2" "-dwarf-column-info" "-debugger-tuning=gdb" "-coverage-notes-file" "/home/pnkfelix/Dev/Mozilla/rust.git/objdir-dbgopt/issue65844.gcno" "-resource-dir" "/home/pnkfelix/Dev/Mozilla/rust.git/objdir-dbgopt/build/x86_64-unknown-linux-gnu/llvm/lib/clang/9.0.0" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/home/pnkfelix/Dev/Mozilla/rust.git/objdir-dbgopt/build/x86_64-unknown-l
View issue65844-3b4b26.c
# 1 "<built-in>"
# 1 "issue65844.c"
struct S { double x; double y; };
int indirect(struct S get_pair()) {
struct S s = get_pair();
return 0;
}
View explore.rs
// ignore-tidy-linelength
// no-prefer-dynamic
// revisions: cfail1 cfail2 cfail3
// compile-flags: -Z query-dep-graph -O
// build-pass (FIXME(62277): could be check-pass?)
#![feature(rustc_attrs)]
// #![no_std]
You can’t perform that action at this time.