graydon/rust — Issue #1109: Is there a way to specify crate attributes in a single .rs file?
Author: marijnh
Created: 2011-11-01 12:50:50+00:00
State: open
Labels: unassigned

If so, I couldn't find it. Just putting a `#[link(...)]` in it didn't help.

What I'm trying to do is compile a `.rs` file with `--lib`. I think there's no reason to not support that. But having the compiler complain about missing crate link meta attributes makes it kind of awkward to do this right now.