nushell/crates/nu-std/std
Stefan Holderbach d007b10fbf
Use build_target information in startup banner (#15046)
# Description
The `(version).build_os` variable inherits from `shadow_rs` `BUILD_OS`
which points to the OS on which the binary was built but does not
reflect the target if it was cross-compiled. We cross-compile several of
the targets for our binary releases. Thus the info in the banner was
misleading.

# User-Facing Changes
By changing to `build_target` the target triple is shown instead.
This is slightly more verbose but should also allow disambiguation
between the `musl` and `glibc` builds.


![grafik](https://github.com/user-attachments/assets/24dd43d7-9717-463b-809b-b81b44f9ab52)

# Tests + Formatting
(-)
2025-02-07 12:10:13 -06:00
..
assert Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
bench small, backwards compatible enhancements to std (#14763) 2025-01-06 11:30:07 -06:00
config Remove unused FlatShapes And/Or (#14476) 2024-11-29 22:23:40 +01:00
dirs Fix small typos in std/dirs (#14422) 2024-11-23 16:04:27 -06:00
dt Deprecate date to-record and date to-table (#14319) 2024-11-29 23:06:26 +01:00
formats fix multiline strings in NDNUON (#14519) 2024-12-05 07:53:33 -06:00
help make std help more user friendly (#14347) 2024-11-27 09:29:25 +08:00
input Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
iter Add input support to generate (#14804) 2025-01-14 11:44:31 -06:00
log small, backwards compatible enhancements to std (#14763) 2025-01-06 11:30:07 -06:00
math Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
prelude Use build_target information in startup banner (#15046) 2025-02-07 12:10:13 -06:00
util small, backwards compatible enhancements to std (#14763) 2025-01-06 11:30:07 -06:00
xml Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
mod.nu Always load default env/config values (#14249) 2024-11-20 16:15:15 -06:00