mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 14:38:30 +00:00
fix: target system
add: new field in dcr.toml - filename, extension
This commit is contained in:
@@ -26,6 +26,8 @@ pub struct BuildContext<'a> {
|
||||
pub libs: &'a [String],
|
||||
pub cflags: &'a [String],
|
||||
pub ldflags: &'a [String],
|
||||
pub output_filename: Option<&'a str>,
|
||||
pub output_extension: Option<&'a str>,
|
||||
}
|
||||
|
||||
pub fn build(ctx: &BuildContext) -> Result<f64, String> {
|
||||
|
||||
Reference in New Issue
Block a user