diff options
| author | Marcel Hellwig <github@cookiesoft.de> | 2022-06-27 11:11:52 +0200 |
|---|---|---|
| committer | Marcel Hellwig <github@cookiesoft.de> | 2022-06-28 08:03:48 +0200 |
| commit | 63847656655bda9fe3cb822b6f99d0268fabde03 (patch) | |
| tree | f2597fa824b8226273f24b29d44b6ca9c18ddf0b /compiler/rustc_codegen_llvm/src | |
| parent | 83511d1d9a98b9506df710fb5bba3c20f57e8c85 (diff) | |
| download | rust-63847656655bda9fe3cb822b6f99d0268fabde03.tar.gz rust-63847656655bda9fe3cb822b6f99d0268fabde03.zip | |
parse `Cargo.toml` file in ui-cargo tests
compiletest_rs is not meant to test full cargo projects, but instead only files. So we need to parse the `Cargo.toml` file ourself and set the corresponding environment variable. In this case we just set `CARGO_PKG_RUST_VERSION`, nothing more. But, of course, this can be extended.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
