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

update to zig version 0.12.0-dev.1297+a9e66ed73; Fix compile errors on Windows #60

Merged
merged 1 commit into from
Oct 28, 2023

Conversation

der-teufel-programming
Copy link
Contributor

No description provided.

@@ -202,7 +207,7 @@ pub const DtMachine = struct {

// Removes and returns top N values from the stack from oldest to youngest. Last index is the most recent, 0 is the oldest.
pub fn popN(self: *DtMachine, comptime n: comptime_int) ![n]Val {
var vals: [n]Val = .{};
var vals: [n]Val = undefined;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to self: Was this required?

@@ -28,6 +25,10 @@ pub fn main() !void {
const stdinPiped = !std.io.getStdIn().isTty();
const stdoutPiped = !std.io.getStdOut().isTty();

if (@import("builtin").os.tag == .windows) {
_ = std.os.windows.kernel32.SetConsoleOutputCP(65001);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note to self: What is the output and should I do something with it?

@booniepepper
Copy link
Collaborator

booniepepper commented Oct 28, 2023

Thanks again for taking a look at dt, and for sharing these changes

I'll merge this at some point when I'm ready to do some follow-up work on tests/build/ci

@booniepepper booniepepper self-assigned this Oct 28, 2023
@booniepepper booniepepper merged commit 41adb65 into so-dang-cool:core Oct 28, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

None yet

2 participants