-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dsym_folder output group in tests (#1703)
Unclear why #1072 explicitly didn't allow tests to generate dsym files via the `dsym_folder` output group. This change allows them to do so and make debugging easier on macos. Manual verification on macos: ``` bazel build -c dbg //test/unit/debug_info:myrusttest rust-lldb bazel-bin/test/unit/debug_info/test-2282882243/myrusttest \ --one-line "image list" \ --one-line "exit" | \ grep DWARF &>/dev/null && echo "dSYM module loaded" ``` should print `dSYM module loaded`
- Loading branch information
Showing
3 changed files
with
40 additions
and
2 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
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
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,4 @@ | ||
#[test] | ||
fn test() { | ||
eprintln!("test"); | ||
} |