Skip to content

Commit

Permalink
Passes target= to rustcc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr committed Oct 18, 2016
1 parent 66d09fa commit 2a6746c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tessel/deployment/rust.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// System Objects
var http = require('http');
var querystring = require('querystring');
var url = require('url');

// Third Party Dependencies
Expand Down Expand Up @@ -113,7 +114,7 @@ exportables.remoteRustCompilation = (opts) => {
var options = {
host: destination.hostname,
port: destination.port,
path: '/rust-compile',
path: '/rust-compile?target=' + querystring.escape(opts.resolvedEntryPoint),
method: 'POST',
headers: {
'Content-Type': 'application/octet-stream',
Expand Down

0 comments on commit 2a6746c

Please sign in to comment.