# std: do not use inferred errors in dynamic_library · gitcafe/zig

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

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

Visibility: public

Requested revision: 59e9f529df75ee89ba7c72e6e5a6df8b35556ab9

Requested commit: 59e9f529df75ee89ba7c72e6e5a6df8b35556ab9

Commit: 59e9f529df75ee89ba7c72e6e5a6df8b35556ab9

Tree: 68b832392eca7a7915bb2261fe853592c87c06c5

Author: Jari Vetoniemi

Committer: Veikka Tuominen

## Message

```
std: do not use inferred errors in dynamic_library

The error unions for WindowsDynLib and ElfDynLib do not contain all the possible errors.
So user code that relies on DynLib.Error will fail to compile.

```

## Parents

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

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