# freebsd: Fix failure to build \(\#29587\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3fd37799b4170b4b7942e21ba7dbffa8155e7dd3

Requested commit: 3fd37799b4170b4b7942e21ba7dbffa8155e7dd3

Commit: 3fd37799b4170b4b7942e21ba7dbffa8155e7dd3

Tree: b33910ba92b3d9dbcf165cfc8f067c5aff615211

Author: Peter Tripp

Committer: GitHub

## Message

````
freebsd: Fix failure to build (#29587)

main was failing to build on FreeBSD.
[joblink](https://github.com/zed-industries/zed/actions/runs/14721383651/job/41315738893)

```
  error[E0425]: cannot find value `platform` in this scope
     --> crates/terminal/src/terminal_settings.rs:298:36
      |
  298 |         let shell_name = format!("{platform}Exec");
      |                                    ^^^^^^^^ not found in this scope
  
  error[E0425]: cannot find value `platform` in this scope
     --> crates/terminal/src/terminal_settings.rs:304:46
      |
  304 |             .read_value(&name(&format!("env.{platform}")))
      |                                              ^^^^^^^^ not found in this scope
```

CC: @P1n3appl3 

Release Notes:

- N/A
````

## Parents

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

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