# stage1: use os_path_resolve instead of os_path_real · gitcafe/zig

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

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

Visibility: public

Requested revision: b35c74ea4c9d93d6a8d90812d2066a78b9abb64e

Requested commit: b35c74ea4c9d93d6a8d90812d2066a78b9abb64e

Commit: b35c74ea4c9d93d6a8d90812d2066a78b9abb64e

Tree: 2bd1b9b8f353718c385fd6b800c1b7372840f99f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: use os_path_resolve instead of os_path_real

to canonicalize imports.

This means that softlinks can represent different files,
but referencing the same absolute path different ways
still references the same import.

```

## Parents

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

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