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 ...
b25d3eeecaCameron Mcloughlin committed on 7/27/2026, 6:20:35 PM· committed by GitHubparent94c6647
2 files changedLine totals unavailable