-
Notifications
You must be signed in to change notification settings - Fork 0
Here are test bisection commands #1
Comments
bisect |
1 similar comment
bisect |
bisect edit: edit |
bisect-bot bisect start=2020-04-24 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
1 similar comment
bisect-bot bisect start=2020-04-24 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
started bisection |
1 similar comment
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
started bisection |
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
started bisection |
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
bisection job 643979354 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643979354 |
bisection job 643979354 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643979354 |
bisect-bot bisect start=2020-04-26 end=2020-04-28 use std::sync::{Arc, RwLock};
#[derive(Copy, Clone)]
pub struct Glfw;
fn fun_call<T>(val: T) -> T { val }
static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
//TODO: Give the option to choose FAIL / LOG?
let glfw = unsafe { if let Some(glfw) = GLFW {
glfw
} else {
let glfw = fun_call(Glfw);
GLFW = Some(glfw);
glfw
}};
Ok(Arc::new(RwLock::new(glfw)))
} |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 644062606 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/644062606 |
bisection job 644062606 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/644062606 |
bisect-bot bisect end=2020-04-25 #![feature(const_generics)]
trait GetType<const N:&'static str>{
type Ty;
fn get(&self)->&Self::Ty;
}
fn get_val<T>(value:&T)->&T::Ty
where
T: GetType<"hello">,
{
value.get()
} |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 650650115 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/650650115 |
bisection job 650650115 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/650650115 |
bisect-bot bisect end=2020-04-01 pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {} |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 659650327 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/659650327 |
bisection job 659650327 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/659650327 |
bisect-bot bisect end=2020-04-01 pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {} |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 674905998 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/674905998 |
bisection job 674905998 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/674905998 |
bisect-bot bisect start=2020-11-01 trait Tr {
extern "rust-call" fn fun() {}
}
fn main() {} (testing) |
Opened #3 to post a commet saying there is a problem. |
bisect-bot bisect start=2020-11-01 end=2020-12-25 trait Tr {
extern "rust-call" fn fun() {}
}
fn main() {} (testing) |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 1665262620 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1665262620 |
bisection job 1665262620 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1665262620 |
bisect-bot bisect start=2019-12-01 end=2020-01-27 trait SomeTrait {}
struct Exhibit {
constant: usize,
factory: fn(&usize) -> Box<dyn SomeTrait>,
}
const A_CONSTANT: &[Exhibit] = &[
Exhibit {
constant: 1,
factory: |_| unimplemented!(),
},
Exhibit {
constant: "Hello world".len(),
factory: |_| unimplemented!(),
},
];
fn main() {} |
X-Bisectbot-Reply-To: github bjorn3/cargo-bisect-rustc-bot#1
bisection job 1671453945 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1671453945 |
bisection job 1671453945 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1671453945 |
@camelid According to rust.godbolt.org it switches from compile error at 1.40.0 to an ICE at 1.41.0. I believe you need to pass a specific argument to cargo-bisect-rustc to only fail on ICE's which I don't. |
@bjorn3 It doesn't error or ICE at 1.39: https://godbolt.org/z/bGWaGd It was just my mistake: I passed in a start bound that was too late (the regression was in nightly-2019-11-29 but I set the start to be 2019-12-01). |
Test code is from rust-lang/rust#71709 (comment)
The text was updated successfully, but these errors were encountered: