Skip to content

Commit

Permalink
Unrolled build for rust-lang#126073
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#126073 - Zalathar:fulldeps-borrowck, r=jieyouxu

Port `tests/run-make-fulldeps/obtain-borrowck` to ui-fulldeps

Thanks to `{{sysroot-base}}` from rust-lang#126008, this was also pretty straightforward to port over.
  • Loading branch information
rust-timer authored Jun 7, 2024
2 parents 98489f2 + dc91ad0 commit 6e6d593
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/run-make-fulldeps/obtain-borrowck/Makefile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

trait X {
fn provided(&self) -> usize {
5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//@ edition: 2021
//@ run-pass
//@ check-run-results
//@ run-flags: --sysroot {{sysroot-base}} --edition=2021 {{src-base}}/auxiliary/obtain-borrowck-input.rs
//@ ignore-stage1 (requires matching sysroot built with in-tree compiler)
// ignore-tidy-linelength

#![feature(rustc_private)]

//! This program implements a rustc driver that retrieves MIR bodies with
Expand Down

0 comments on commit 6e6d593

Please sign in to comment.