mirror of
https://github.com/nushell/nushell
synced 2025-01-16 23:24:14 +00:00
4c8b09eb97
# Description After a `use std *`, the environment variables exported from the submodules' `export-env` blocks are not available because of #13403. This causes failures in `log` (currently) and will cause issues in `dirs` once we stop autoloading it separately. When the submodules are loaded separately (e.g., `use std/log`), everything already worked correctly. While this is the preferred way of doing it, we also want `use std *` to work properly. This is a workaround for the standard library submodules. It is definitely not ideal, but it can be removed when and if #13403 is fixed. For now, we need to duplicate any environment settings in both the submodules (when loaded with `use std/log`) and in the standard library itself (when loaded with `use std *`). Again, this should not be necessary, but currently is because of #13403. # User-Facing Changes Bug fix # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib` # After Submitting N/A |
||
---|---|---|
.. | ||
assert.nu | ||
bench.nu | ||
core.nu | ||
deprecated_dirs.nu | ||
dirs.nu | ||
dt.nu | ||
formats.nu | ||
help.nu | ||
input.nu | ||
iter.nu | ||
lib.nu | ||
log.nu | ||
math.nu | ||
mod.nu | ||
xml.nu |