On Mon, Jan 24, 2022 at 03:01:41PM -0500, Aisha Tammy wrote:
> Thanks a lot for the response, it helped the get off the ground and start
> compiling at least.
> But turns out it needs rust nightly so it doesn't want to build.

ah, it is another set of potential dragons here.

lang/rust is stable (currently 1.58.1 in -current tree), so
requirements for vaultwarden aren't meet.

if you want to play with 1.58.1 with some nightly features, you could
try to pass RUSTC_BOOTSTRAP=1 environment variable in the build.

$ rustc -Z help
error: the option `Z` is only accepted on the nightly compiler
$ RUSTC_BOOTSTRAP=1 rustc -Z help                                               
                       

Available options:                                                              
                                                                                
                                                                                
  -Z                          allow-features=val -- only allow the listed 
language features to be enabled in code (space separated)
...


But keep in mind that the provided features are from 1.58.1, and
vaultwarden could need others features or features silghtly differents
(nightly is unstable by nature).

Thanks.
-- 
Sebastien Marie

Reply via email to