Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: rename toolchain file (#1604)

pakrym-oai327e2254f68b
diff --git a/AGENTS.md b/AGENTS.md
index 4188cc9873..27af48ae60 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -4,6 +4,6 @@ In the codex-rs folder where the rust code lives:
- Never add or modify any code related to `CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR`. You operate in a sandbox where `CODEX_SANDBOX_NETWORK_DISABLED=1` will be set whenever you use the `shell` tool. Any existing code that uses `CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR` was authored with this fact in mind. It is often used to early exit out of tests that the author knew you would not be able to run given your sandbox limitations.
-After making changes to the rust code run `just fmt` (in `codex-rs` directory) to format the code and `just fix` (in `codex-rs` directory) to fix any linter issues in the code.
+Before creating a pull request with changes to `codex-rs`, run `just fmt` (in `codex-rs` directory) to format the code and `just fix` (in `codex-rs` directory) to fix any linter issues in the code, ensure the test suite passes by running `cargo test --all-features` in the `codex-rs` directory.
-Ensure the test suite passes by running `cargo test --all-features` in the `codex-rs` directory.
+When making individual changes prefer running tests on individual files or projects first.
diff --git a/codex-rs/justfile b/codex-rs/justfile
index 6c8e9f9e4d..3e1336be43 100644
--- a/codex-rs/justfile
+++ b/codex-rs/justfile
@@ -28,4 +28,5 @@ fix:
cargo clippy --fix --all-features --tests --allow-dirty
install:
+ rustup show active-toolchain
cargo fetch
diff --git a/codex-rs/toolchain.toml b/codex-rs/rust-toolchain.toml
similarity index 100%
rename from codex-rs/toolchain.toml
rename to codex-rs/rust-toolchain.toml