Skip to content

Commit

Permalink
Fixes broken call to runBuild for Rust code.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr committed Oct 24, 2016
1 parent ce46cf0 commit 68acee2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/tessel/deployment/rust.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ exportables.tarBundle = function(opts) {
if (opts.rustcc) {
return exportables.remoteRustCompilation(opts);
} else {
return rust.runBuild(true, opts.resolvedEntryPoint, opts.target)
return rust.runBuild({
isCli: true,
binary: opts.resolvedEntryPoint,
path: opts.target
})
.then(tarball => fs.readFileSync(tarball));
}
};
Expand Down

0 comments on commit 68acee2

Please sign in to comment.