-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
category:regressionSomething that worked does not work anymore.Something that worked does not work anymore.status:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look
Milestone
Description
Describe the bug
I used this line of code to install https://github.com/gokcehan/lf however it doesn't work anymore.
with-env {CGO_ENABLED: 0} { go install -ldflags="-s -w" github.com/gokcehan/lf@latest }How to reproduce
- use version
0.94.1or0.94.2 - run command:
with-env {CGO_ENABLED: 0} { go install -ldflags="-s -w" github.com/gokcehan/lf@latest } - error
❯ with-env {CGO_ENABLED: 0} { go install -ldflags="-s -w" github.com/gokcehan/lf@latest }
invalid value "\"-s -w\"" for flag -ldflags: missing =<value> in <pattern>=<value>
usage: go install [build flags] [packages]
Run 'go help install' for details.
using a single quote doesn't help
❯ with-env {CGO_ENABLED: 0} { go install -ldflags='-s -w' github.com/gokcehan/lf@latest }
invalid value "'-s -w'" for flag -ldflags: missing =<value> in <pattern>=<value>
usage: go install [build flags] [packages]
Run 'go help install' for details.
Expected behavior
-ldflags="-s -w" should work.
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.94.2 |
| major | 0 |
| minor | 94 |
| patch | 2 |
| branch | |
| commit_hash | be8c1dc |
| build_os | windows-x86_64 |
| build_target | x86_64-pc-windows-msvc |
| rust_version | rustc 1.77.2 (25ef9e3d8 2024-04-09) |
| rust_channel | 1.77.2-x86_64-pc-windows-msvc |
| cargo_version | cargo 1.77.2 (e52e36006 2024-03-26) |
| build_time | 2024-06-03 19:27:48 +00:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, system-clipboard, trash, which |
| installed_plugins |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category:regressionSomething that worked does not work anymore.Something that worked does not work anymore.status:needs-triageAn issue that hasn't had any proper lookAn issue that hasn't had any proper look