Skip to content

Snapshot 3391630 fails to build on DragonFly: liblibc - binary operation + cannot be applied #30596

Closed
@mneumann

Description

@mneumann

When I compile I get the following error:

src/liblibc/src/unix/bsd/freebsdlike/dragonfly.rs:3:32: 3:36 error: binary operation `+` cannot be applied to type `_` [E0369]
src/liblibc/src/unix/bsd/freebsdlike/dragonfly.rs:3 pub const SIGSTKSZ: ::size_t = 8192 /* MINSIGSTKSZ */ + 32768;
                                                                                   ^~~~
src/liblibc/src/macros.rs:26:9: 26:75 note: in this expansion of __cfg_if_apply! (defined in src/liblibc/src/macros.rs)

I can fix it by performing the addition myself and expanding it to: 40960

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions