-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit cf32bcb
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# .github/workflows/ci.yml | ||
|
||
name: CI | ||
on: [push] | ||
jobs: | ||
repro: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
|
||
- run: pwd | ||
- run: echo ${{github.workspace}} | ||
- run: echo \\?\${{github.workspace}} | ||
|
||
- run: cargo check --verbose && cargo clean | ||
|
||
- run: cargo check --manifest-path \\?\${{github.workspace}}\Cargo.toml --verbose | ||
if: always() | ||
|
||
- run: cargo check --verbose | ||
working-directory: \\?\${{github.workspace}} | ||
if: always() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Cargo.toml | ||
|
||
[package] | ||
name = "repro" | ||
version = "0.0.0" | ||
homepage = "https://github.com/rust-lang/cargo/pull/13914" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// build.rs | ||
|
||
fn main() { | ||
let out_dir = std::env::var_os("OUT_DIR").unwrap(); | ||
let repro = std::path::Path::new(&out_dir).join("repro.rs"); | ||
std::fs::write(repro, "").unwrap(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// src/lib.rs | ||
|
||
include!(concat!(env!("OUT_DIR"), "/repro.rs")); |