# std.Progress: use a global static Io instance · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/90f7259ef17e8e07c2c3f71bea65d103cfe52c07)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 90f7259ef17e8e07c2c3f71bea65d103cfe52c07

Requested commit: 90f7259ef17e8e07c2c3f71bea65d103cfe52c07

Commit: 90f7259ef17e8e07c2c3f71bea65d103cfe52c07

Tree: c7d4025d746c265dd5907b81295b86d6f67eb80c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Progress: use a global static Io instance

This decision should be audited and discussed.

Some factors:
* Passing an Io instance into start.
* Avoiding reference to global static instance if it won't be used, so
  that it doesn't bloat the executable.
* Being able to use std.debug.print, and related functionality when
  debugging std.Io instances and std.Progress.

```

## Parents

- [bee8005fe6817ade9191de0493888b14cdbcac31](https://git.cafe/gitcafe/zig/commit/bee8005fe6817ade9191de0493888b14cdbcac31?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/90f7259ef17e8e07c2c3f71bea65d103cfe52c07?format=markdown)
