sreedevk / deduplicator

Filter, Sort & Delete Duplicate Files Recursively
MIT License
264 stars 15 forks source link

[Bug] compilation error #50

Open xpamych opened 1 year ago

xpamych commented 1 year ago

Describe the bug When using the stable version of rust, cargo cannot build the application.

Runtime Info Install Type: Install with cargo App Version: [e.g. v1.0.6]

Expected behavior Installing the application without error))

Screenshots image

Platform Details (please complete the following information):

Additional context Erroneous code example:

#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
    Bar(u64),
}

If you're using a stable or a beta version of rustc, you won't be able to use any unstable features. In order to do so, please switch to a nightly version of rustc (by using rustup).

If you're using a nightly version of rustc, just add the corresponding feature to be able to use it:

#![feature(repr128)]

#[repr(u128)] // ok!
enum Foo {
    Bar(u64),
}
sreedevk commented 1 year ago

will look into this @xpamych. Thank you for reporting.