Skip to content

Expose executor environment snapshot - #27

Merged
caomengxuan666 merged 5 commits into
masterfrom
fix/env-vars-snapshot-accessor
Aug 10, 2026
Merged

Expose executor environment snapshot#27
caomengxuan666 merged 5 commits into
masterfrom
fix/env-vars-snapshot-accessor

Conversation

@caomengxuan666

Copy link
Copy Markdown
Collaborator

Changes

  • Add a public Executor::env_vars_snapshot accessor mirroring aliases_snapshot.
  • Allows host shells to synchronize shell-local environment state after source/interactive execution without exposing mutable executor internals.

Validation

  • cargo test --manifest-path C:/Users/Administrator/rubash/Cargo.toml env_vars_snapshot --lib
    • Builds successfully; filter has no direct test match, so 0 tests run.

@caomengxuan666
caomengxuan666 merged commit ad01b72 into master Aug 10, 2026
3 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/env-vars-snapshot-accessor branch August 10, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant