Skip to content

Syntax-phase crates are always linked against #13495

Closed
@sfackler

Description

@sfackler

It appears that this is was caused by #13384.

#![feature(phase)]
#[phase(syntax)]
extern crate fourcc;

fn main() { fourcc!("1234"); }
~ ❯ rustc -Z lto test.rs
error: could not find rlib for: `fourcc`

cc @alexcrichton

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesA-syntaxextArea: Syntax extensions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions