# release_channel: Allow compile time overrides that don't use \`include_str\!\` \(\#61731\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b25d3eeeca0475d9fae7e22a466321be1b593f1b

Requested commit: b25d3eeeca0475d9fae7e22a466321be1b593f1b

Commit: b25d3eeeca0475d9fae7e22a466321be1b593f1b

Tree: b0d5df0feb7a279c78407b4c06a7598579bda09b

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
release_channel: Allow compile time overrides that don't use `include_str!` (#61731)

Some crates in zed use `include_str!("../../zed/RELEASE_CHANNEL")`,
which breaks when used as a dependency in a crane nix build (each crate
is built in isolation).

This adds a compile time env var to skip that check, which allows crates
in the zed repo to be used as dependencies in a crane build.

---

Release Notes:

- N/A or Added/Fixed/Improved ...
```

## Parents

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

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