mirror of
https://github.com/nushell/nushell.git
synced 2025-05-08 20:14:26 +02:00
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.  # Tests + Formatting (-)
This commit is contained in:
parent
942030199d
commit
d007b10fbf
@ -16,7 +16,7 @@ let banner_msg = match $short {
|
|||||||
(ansi green)'|, . ,' (ansi reset)based on the (ansi green)nu(ansi reset) language,
|
(ansi green)'|, . ,' (ansi reset)based on the (ansi green)nu(ansi reset) language,
|
||||||
(ansi green) !_-\(_\\ (ansi reset)where all data is structured!
|
(ansi green) !_-\(_\\ (ansi reset)where all data is structured!
|
||||||
|
|
||||||
Version: (ansi green)($ver.version) \(($ver.build_os)\)
|
Version: (ansi green)($ver.version) \(($ver.build_target)\)
|
||||||
Please join our (ansi purple)Discord(ansi reset) community at (ansi purple)https://discord.gg/NtAbbGn(ansi reset)
|
Please join our (ansi purple)Discord(ansi reset) community at (ansi purple)https://discord.gg/NtAbbGn(ansi reset)
|
||||||
Our (ansi green_bold)GitHub(ansi reset) repository is at (ansi green_bold)https://github.com/nushell/nushell(ansi reset)
|
Our (ansi green_bold)GitHub(ansi reset) repository is at (ansi green_bold)https://github.com/nushell/nushell(ansi reset)
|
||||||
Our (ansi green)Documentation(ansi reset) is located at (ansi green)https://nushell.sh(ansi reset)
|
Our (ansi green)Documentation(ansi reset) is located at (ansi green)https://nushell.sh(ansi reset)
|
||||||
|
Loading…
Reference in New Issue
Block a user