diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-07-07 17:11:03 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-07-08 22:28:51 +0200 |
commit | 79ef0a5d7f4930b6b970d993a633db65b5ff7349 (patch) | |
tree | b9d17a39100624ff570e35c03fc1f009b37b53bd /python/servo | |
parent | 26a78817c1e5d720ed4923be984d962df2f6774f (diff) | |
download | servo-79ef0a5d7f4930b6b970d993a633db65b5ff7349.tar.gz servo-79ef0a5d7f4930b6b970d993a633db65b5ff7349.zip |
Remove the "./mach build-stable" subcommand
It is replaced by "./mach build-gecklibo" using stable Rust.
Diffstat (limited to 'python/servo')
-rw-r--r-- | python/servo/build_commands.py | 37 | ||||
-rw-r--r-- | python/servo/command_base.py | 5 |
2 files changed, 1 insertions, 41 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 20c9bf28c6b..a7cfbb57d8e 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -265,43 +265,6 @@ class MachCommands(CommandBase): print("Build completed in %s" % format_duration(elapsed)) return status - @Command('build-stable', - description='Build Servo using stable rustc', - category='build') - @CommandArgument('--target', '-t', - default=None, - help='Cross compile for given target platform') - @CommandArgument('--release', '-r', - action='store_true', - help='Build in release mode') - @CommandArgument('--dev', '-d', - action='store_true', - help='Build in development mode') - @CommandArgument('--jobs', '-j', - default=None, - help='Number of jobs to run in parallel') - @CommandArgument('--features', - default=None, - help='Space-separated list of features to also build', - nargs='+') - @CommandArgument('--android', - default=None, - action='store_true', - help='Build for Android') - @CommandArgument('--debug-mozjs', - default=None, - action='store_true', - help='Enable debug assertions in mozjs') - @CommandArgument('--verbose', '-v', - action='store_true', - help='Print verbose output') - @CommandArgument('params', nargs='...', - help="Command-line arguments to be passed through to Cargo") - def build_stable(self, target=None, release=False, dev=False, jobs=None, - features=None, android=None, verbose=False, debug_mozjs=False, params=None): - self.set_use_stable_rust() - self.build(target, release, dev, jobs, features, android, verbose, debug_mozjs, params) - @Command('build-cef', description='Build the Chromium Embedding Framework library', category='build') diff --git a/python/servo/command_base.py b/python/servo/command_base.py index b9a555f4ff0..9990def8516 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -333,10 +333,7 @@ class CommandBase(object): env["CARGO_HOME"] = self.config["tools"]["cargo-home-dir"] - if self.use_stable_rust(): - env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "ports/stable-rust/target") - elif "CARGO_TARGET_DIR" not in env: - env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target") + env["CARGO_TARGET_DIR"] = path.join(self.context.topdir, "target") if extra_lib: if sys.platform == "darwin": |