chroot_version_hooks.d: trim world set

Some of our update_chroot steps would add packages to this that we
didn't want and would later cause rebuild issues.  Throw it away.

BUG=chromium:1013967
TEST=`./update_chroot` passes

Change-Id: I87d83e7be6dd6f81b96fea1cbaab0f19d65d2a8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/1860039
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
diff --git a/chroot_version_hooks.d/171_world_set_cleanup b/chroot_version_hooks.d/171_world_set_cleanup
new file mode 100644
index 0000000..3ddf7b8
--- /dev/null
+++ b/chroot_version_hooks.d/171_world_set_cleanup
@@ -0,0 +1,7 @@
+# Copyright 2019 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Make sure the @world set is empty and doesn't contain packages we don't want
+# it to like rust.  https://crbug.com/1013967
+sudo rm -f /var/lib/portage/world