Skip to content
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

Print -show-timings and -show-more-timings to os.stderr #4642

Open
MaliusArth opened this issue Jan 1, 2025 · 0 comments
Open

Print -show-timings and -show-more-timings to os.stderr #4642

MaliusArth opened this issue Jan 1, 2025 · 0 comments

Comments

@MaliusArth
Copy link

MaliusArth commented Jan 1, 2025

Issue:

It is not possible to use odin run with -show-timings or -show-more-timings for programs which generate output redirected into a file.

` odin run file_generator.odin -file -show-timings -show-more-timings > output.gen

In this example timings are printed into the output.gen file, changing the programs expected output.

Request:

Print -show-timings and -show-more-timings to os.stderr to solve this issue.

Also, since those timings are compilation diagnostics/statistics I would expect them to be printed to os.stderr like other diagnostics, anyways.

@MaliusArth MaliusArth changed the title Print --show-timings and --show-more-timings to os.stderr Print -show-timings and -show-more-timings to os.stderr Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant