Closed photex closed 1 year ago
We're using ahash just fine internally. Do you have a commit or something I can check out to see what you're seeing?
Sure, here is a minimal example: https://git.sr.ht/~photex/rlt
The only crates dep is ahash 0.7 which fails to find the once_cell dep.
If you add getrandom, or num_cpus you should run into the missing libc issue.
Ultimately I'm just trying to use specs though, I isolated these as the issue. I'll also update reindeer too. I think I built it a couple of days ago but it would be worthwhile stepping through it as well and see if there isn't some easily the matter.
I checked out your repo at 177ccade8
and it's incomplete. With a minimal reindeer.toml
and a few fixups, running reindeer buckify
will produce the right BUCK
file. Here's what it should look like:
Ah OK, thank you for checking it out. Did I miss the information that the reindeer.toml is required to form a complete setup?
I only recalled that I need to run 'vendor' and 'buckify'. Which reminds me to ask, despite trying to run vendor several times I always ended up with a non-vendored setup. I thought I had read that the default was for vendored mode. Is that not the case?
Thanks again!
Did I miss the information that the reindeer.toml is required to form a complete setup?
Yeah. Without a @dtolnay, I just tried Reindeer without a reindeer.toml
reindeer doesn't do anything.reindeer.toml
and it only generates rules for top-level crates - not their deps. Is this broken? Or how's this supposed to work?
Which reminds me to ask, despite trying to run vendor several times I always ended up with a non-vendored setup.
For this you do need a reindeer.toml
because you need to specify the cargo
table values.
I thought I had read that the default was for vendored mode. Is that not the case?
The default is non-vendored mode - but I am going to defer to @dtolnay on this because I am not really sure what the intent was.
Great, thanks for the clarification and sharing your time. Maybe we should change the issue title or just close it so it's more clear for any future users who run up against their ignorance like I did? :D
Hello!
I'm giving reindeer a shot and trying it out on the specs crate ended up with some failures to build. The ahash create seemed to have missed the once_cell dependency, and when you look at the cargo manifest https://github.com/tkaitchuck/aHash/blob/master/Cargo.toml it does seem like a weird one!
So after trying some variations to figure out what is actually failing I know at least a couple of things:
Thanks!