# Fix handling of \`\-\-system-specs\` argument so it happens before \`Application::new\` \(\#29240\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/aefb3aa2faca5b4b5f7a6f88c75de2042dec8e11)

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

Visibility: public

Requested revision: aefb3aa2faca5b4b5f7a6f88c75de2042dec8e11

Requested commit: aefb3aa2faca5b4b5f7a6f88c75de2042dec8e11

Commit: aefb3aa2faca5b4b5f7a6f88c75de2042dec8e11

Tree: 10f089d1049ee7e339786f22e04bd95f73681bcf

Author: Ben Kunkle

Committer: GitHub

## Message

```
Fix handling of `--system-specs` argument so it happens before `Application::new` (#29240)

Fixes issue described in [description of
#28683](https://github.com/zed-industries/zed/issues/28683#issue-2992849891)

Makes sure that the `--system-specs` arg is handled before
`Application::new` is called, so that it can be used even when Zed is
panicking during app initialization (e.g. Failing to create a Vulkan
context in blade)

Release Notes:

- Fixed an issue where the `--system-specs` arg wouldn't work if Zed
panicked during app initialization (e.g. When failing to create a Vulkan
context in blade)
```

## Parents

- [8e7c145f2000873b4b3743c40c66db7ab7ec66f9](https://git.cafe/gitcafe/zed/commit/8e7c145f2000873b4b3743c40c66db7ab7ec66f9?format=markdown)

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