diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-17 13:53:34 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-04-17 14:32:34 -0700 |
| commit | c01c3d9fc6e28b8260894c9522eb29e29874dcbd (patch) | |
| tree | 513ac6794d09de418527e420db683a6113ff6bb7 /src/rt/rust_run_program.cpp | |
| parent | c2f5a87cdd79e5531b751749827d2e8a3d269c9e (diff) | |
| download | rust-c01c3d9fc6e28b8260894c9522eb29e29874dcbd.tar.gz rust-c01c3d9fc6e28b8260894c9522eb29e29874dcbd.zip | |
rustpkg: Fail when crate inference fails; inject link attributes
1. Fail when there's no package script and no crates named main.rs, lib.rs, bench.rs, or test.rs. 2. Inject the crate link_meta "name" and "vers" attributes, so that the output file gets named correctly in the library case. 3. Normalize '-' to '_' in package names.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions
