Comments (9)
The debuginfo test suite should also be insulated against gdb changing how it prints things, Because It Does.
from rust.
Some points:
- compiletest supports
cdb
,gdb
andlldb
, running the test suite for all the ones that are available (either viaconfig.toml
or viaPATH
). - our LLVM builds do currently not contain lldb.
from rust.
That's... informative, thank you!
It does seem like we should reassess our strategy if we're gonna run a test suite that isn't guaranteed to pass even between different versions of a debugger on "any ol' random debugger lying around".
from rust.
On macOS we can't ship our own debugger. Only an Apple signed lldb is allowed to use the debugging apis of the kernel.
from rust.
Wait, gdb is useless on macOS?
from rust.
Supposedly you can use gdb on macOS jf you sign it with a self-signed code signing certificate which you add to the system keychain, mark as trusted for code signing and set the right entitlements when signing gdb. I don't know if you need to disable SIP for this to work though. We can't disable SIP on CI. https://dev.to/jasonelwood/setup-gdb-on-macos-in-2020-489k
from rust.
Hmm, okay. I think on Linux it is still desirable to control for the sheer amount of variability that Linux distros have, but I can believe that the debuginfo tests have to draw on the environment sometimes.
from rust.
I think it's fine if we can't necessarily control for the debugger used, but we should at least document it and/or report the debugger used when running the debuginfo test suite.
from rust.
yeah, that was also reported as #126628
from rust.
Related Issues (20)
- RUSTFLAGS sometimes isn't passed to all rustc command lines HOT 19
- Public tuple structs give dead_code warnings on nightly HOT 5
- ICE. `!base.layout().is_sized()` HOT 1
- Importing an enum variant can create a conflict with a new prelude type HOT 10
- Incomplete features in `std`: required for implementation vs. should not use HOT 1
- ICE: `expected wide pointer extra data (e.g. slice length or trait object vtable)` HOT 2
- ICE: `relating different kinds: ?2t '?2` HOT 4
- ICE: `unexpected builtin trait with associated type:` <{closure@./... } as Fn> HOT 3
- Fixing `unsafe_op_in_unsafe_fn` for `std::{os, sys}` HOT 2
- Readdir iterator fails for vxworks since version 1.70 to 1.78 HOT 4
- text coloring for the println! macro HOT 2
- ICE: `compiler/rustc_infer/src/infer/at.rs:400:21`: relating different kinds: `'?20 utoipa::openapi::RefOr<utoipa::openapi::Schema>` HOT 1
- Tracking Issue for stdarch_aarch64_feature_detection
- confusing "'x.py' requires a subcommand but one was not provided" error HOT 1
- Tracking Issue for Rustdoc support of RFC3485 `feature-documentation` HOT 2
- Provide a way for `rustdoc` to consume this new information HOT 1
- Unresolved imports when building std without thread local HOT 5
- Trouble setting `default-linker = ...` when building aarch64-unknown-linux-musl Rust target HOT 5
- Return type notation with constant parameter can potentially cause misleading diagnostics
- Async closure argument inference is broken with functions taking `FnOnce() -> futures::TryFuture` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.