with split bins poc

This commit is contained in:
2022-08-20 16:51:07 +02:00
parent 420645983f
commit 32933381dd
1270 changed files with 2756 additions and 1 deletions

View File

@@ -0,0 +1 @@
This file has an mtime of when this was started.

View File

@@ -0,0 +1,26 @@
#![feature(backtrace)]
#![allow(dead_code)]
use std::backtrace::{Backtrace, BacktraceStatus};
use std::error::Error;
use std::fmt::{self, Display};
#[derive(Debug)]
struct E;
impl Display for E {
fn fmt(&self, _formatter: &mut fmt::Formatter) -> fmt::Result {
unimplemented!()
}
}
impl Error for E {
fn backtrace(&self) -> Option<&Backtrace> {
let backtrace = Backtrace::capture();
match backtrace.status() {
BacktraceStatus::Captured | BacktraceStatus::Disabled | _ => {}
}
unimplemented!()
}
}

View File

@@ -0,0 +1 @@
/home/kjuulh/git/git.front.kjuulh.io/kjuulh/guddle/pocs/split_bins/target/debug/build/anyhow-3b28b3cce291c817/out