the.bay.news

How to use `std.testing.environ.createMap`? fails with massive stacktrace

Ziggit
How to use `std.testing.environ.createMap`? fails with massive stacktrace
Problem when running zig test, this line in my test, std.testing.environ.createMap(gpa), fails for me with an unusual stack trace that repeats itself over and over again (but not forever), and I’m not sure what’s going on. This is also strange because I can successfully read environment variables from inside a test using std.testing.environ.contains(gpa,"PATH"). I will post a minimal reproducable test example below. (I can also post the stack trace if needed, but I will have to edit out my nam...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.