Skip to content

stop std.os.unexpectedErrno from calling std.debug.dumpCurrentStackTrace #4167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
daurnimator opened this issue Jan 13, 2020 · 2 comments
Open
Labels
os-bring-your-own The "Bring Your Own Operating System" abstraction layer proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. standard library This issue involves writing Zig code for the standard library.
Milestone

Comments

@daurnimator
Copy link
Contributor

Trying out the BYO os mechanism: compiling with debug safety on causes unexpectedErrno to call std.debug.warn and std.debug.dumpCurrentStackTrace, which require implementing a huge number of OS functionality.

@daurnimator daurnimator added the standard library This issue involves writing Zig code for the standard library. label Jan 13, 2020
@andrewrk
Copy link
Member

The std.debug.warn dependency is resolved by #2586.

@andrewrk andrewrk added the proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. label Jan 26, 2020
@andrewrk andrewrk added this to the 0.7.0 milestone Jan 26, 2020
@andrewrk andrewrk changed the title unexpectedErrno pulls in debug library dependency stop std.os.unexpectedErrno from calling std.debug.dumpCurrentStackTrace Jan 26, 2020
@andrewrk
Copy link
Member

I'm inclined to close this proposal in favor of making it easier to support debug info with the bring-your-own-os API.

@jayschwa jayschwa added the os-bring-your-own The "Bring Your Own Operating System" abstraction layer label Sep 13, 2020
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Oct 27, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 May 19, 2021
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 Nov 23, 2021
@andrewrk andrewrk modified the milestones: 0.10.0, 0.11.0 Apr 16, 2022
@andrewrk andrewrk modified the milestones: 0.11.0, 0.12.0 Apr 9, 2023
@andrewrk andrewrk modified the milestones: 0.13.0, 0.12.0 Jul 9, 2023
@andrewrk andrewrk modified the milestones: 0.14.0, 0.16.0 Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-bring-your-own The "Bring Your Own Operating System" abstraction layer proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

No branches or pull requests

3 participants