Comments (4)
What exact command is used for building broot ?
from broot.
Just cargo build --release
, see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=broot-git#n27
But some build options and environments comes from https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/makepkg.conf?ref_type=heads which is where lto
comes from, but I don't know enough of its internals to explain how does it interact.
I also wanted to do a manual cargo build
while requiring it to do a lto
build, but couldn't find the right options or documentations to do so.
from broot.
Here's why I don't understand:
I already build for arch with cargo build --release
, you find the result in https://github.com/Canop/broot/releases/tag/v1.36.0
And broot in release mode is always built with the lto option, because of this line: https://github.com/Canop/broot/blob/main/Cargo.toml#L91
from broot.
All I can say is that, on the advice of people on IRC, broot
as for the two other rust packages I have with similar issues, is back to building fine if I remove/disable using an exclamation mark lto
from this line: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/makepkg.conf?ref_type=heads#L100
This is also the reason distro builds stable releases by adding that option, as visible here: https://gitlab.archlinux.org/archlinux/packaging/packages/broot/-/blob/main/PKGBUILD?ref_type=heads#L15
If you try to build stable's PKGBUILD but remove this line, you should run into the same issue as me.
When I was looking for ways to reproduce this with only cargo, outside of makepkg
's environment, I wasn't able to find good ways to do it, but seemed to find things about something like two "levels" of lto
, maybemakepkg
is trying to do a more "pushed" one which trigger that issue? (I've honestly no idea, here).
from broot.
Related Issues (20)
- R file type is not mapped
- ANSI codes inserted into the prompt after starting broot (causing "No matching verb") HOT 15
- Add features for Trash management HOT 1
- Request: Verb: Toggle descending/following all symlinks HOT 4
- Allow configuring how double click opens files HOT 2
- How do I move around locations? HOT 2
- Slow at /proc HOT 4
- Color scheme produces unexpected output since 1.33.0
- Does not compile on Termux (Android) any more HOT 2
- Wrong light colorscheme in zellij HOT 7
- broot fail to recognize `suid` and `sgid` bits when showing permission HOT 2
- Option to always open editor relative to directory where i start `broot` HOT 6
- Arrow between path and git branch misaligned HOT 2
- Could not edit file in Kakoune by specifying client and server HOT 3
- showing long pathnames on multiple lines
- Is there a way to prevent right arrow from opening file in external editor? HOT 1
- Run shell commands like tar and zip directly through broot terminal UI.
- Multiple arguments to custom verbs. HOT 6
- Put selected path into shell input HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from broot.