Earlier quoted context omitted.
I assume any "nightly" version would work in this context, meaning it would not refer to a version from a year ago, as it would have already been made stable by that point, right?
"nightly" versions also allow to use unstable features, and unstable features may remain so for a very long time (potentially forever) without breaking, so an old nightly could maybe work
Show HN: Unbug – Rust macros for programmatically invoking breakpoints
11–20 of 41 posts
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#12Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#13You could potentially build on stable Rust by emitting the breakpoint instructions yourself, at least on popular platforms. For instance, `core::arch::asm!("int3")` on x86, or `core::arch::asm!("brk #1")` on ARM. Also, this is providing motivation to want to stabilize a breakpoint mechanism, perhaps `core::arch::breakpoint()`. I'm going to propose an API Change Proposal (ACP) to the libs-api team to see if we can pro…
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#14Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#15Oh, that’s super clever integration with tracing. Feel free to send us a PR; we’ll link to this as a related project in the docs!
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#16Earlier quoted context omitted.
"nightly" versions also allow to use unstable features, and unstable features may remain so for a very long time (potentially forever) without breaking, so an old nightly could maybe work
Right, not everything gets merged to stable. In that case: letting us know the specifics beyond "nightly" is advisable, IMO.
> BREAKPOINTS REQUIRE ENABLING THE EXPERIMENTAL core_intrinsics FEATURE
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#17Earlier quoted context omitted.
Right, not everything gets merged to stable. In that case: letting us know the specifics beyond "nightly" is advisable, IMO.
The readme does mention the specifics, immediately after mentioning nightly. > BREAKPOINTS REQUIRE ENABLING THE EXPERIMENTAL core_intrinsics FEATURE
I like your username.
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#18Oh, that’s super clever integration with tracing. Feel free to send us a PR; we’ll link to this as a related project in the docs!
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#19Earlier quoted context omitted.
The readme does mention the specifics, immediately after mentioning nightly. > BREAKPOINTS REQUIRE ENABLING THE EXPERIMENTAL core_intrinsics FEATURE
How do I know which versions of nightly support that feature, and that specific version of the feature though? I like your username.
Re: Show HN: Unbug – Rust macros for programmatically invoking breakpoints
#20You could potentially build on stable Rust by emitting the breakpoint instructions yourself, at least on popular platforms. For instance, `core::arch::asm!("int3")` on x86, or `core::arch::asm!("brk #1")` on ARM. Also, this is providing motivation to want to stabilize a breakpoint mechanism, perhaps `core::arch::breakpoint()`. I'm going to propose an API Change Proposal (ACP) to the libs-api team to see if we can pro…
If Rust’s standard library does this, please consider using int3;nop instead.