Lokathor / tinyvec

Just, really the littlest Vec you could need. So smol.
https://docs.rs/tinyvec
Apache License 2.0
648 stars 49 forks source link

The crate does not compile in OmniOS #125

Closed mzanrosso closed 3 years ago

mzanrosso commented 3 years ago

Hi everyone, I have a VM with omnios and when I try to do cargo build on a project that has as an indirect dependency tinyvec goes into segmentation fault.

The main specifications of the VM are these:

error: could not compile `tinyvec`.
Caused by:
  process didn't exit successfully: `rustc --crate-name tinyvec --edition=2018 /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/tinyvec-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="tinyvec_macros"' -C metadata=4033b7c8c11b21a1 -C extra-filename=-4033b7c8c11b21a1 --out-dir [PATH OVERWRITTEN] -L dependency=[PATH OVERWRITTEN] --extern tinyvec_macros=[PATH OVERWRITTEN] --cap-lints allow` (signal: 11, SIGSEGV: invalid memory reference)
Lokathor commented 3 years ago

This looks like a bug in rustc itself, not a bug in tinyvec.

I hate to say that it's "not my problem", but you have to file a bug with the rust-lang/rust issue tracker to get help with this one. There's nothing that the tinyvec crate can do about a segmentation fault.

mzanrosso commented 3 years ago

This looks like a bug in rustc itself, not a bug in tinyvec.

I hate to say that it's "not my problem", but you have to file a bug with the rust-lang/rust issue tracker to get help with this one. There's nothing that the tinyvec crate can do about a segmentation fault.

Thanks anyway for the answer, I opened an issue as you suggested; you can follow the progress here https://github.com/rust-lang/rust/issues/79558

Lokathor commented 3 years ago

It appears that this was fixed in rustc-1.49

@mzanrosso can you confirm?

mzanrosso commented 3 years ago

Yes, now it's fixed