Revert "rust: Only allow bindgen to produce `rlib`s."

This reverts commit 53a452d1ff172fba9060f2997fec006a70e44c8d.

Reason for revert: Broken build

Change-Id: I4c1c6f2166c3729ef1916ad7c21e32599c5e692f
diff --git a/rust/bindgen.go b/rust/bindgen.go
index 0199d3a..72cc894 100644
--- a/rust/bindgen.go
+++ b/rust/bindgen.go
@@ -299,15 +299,7 @@
 		ClangProperties:    cc.RustBindgenClangProperties{},
 	}
 
-	module := NewSourceProviderModule(hod, bindgen, false, true)
-
-	android.AddLoadHook(module, func(ctx android.LoadHookContext) {
-		type stub_props struct {
-			Visibility []string
-		}
-		props := &stub_props{[]string{":__subpackages__"}}
-		ctx.PrependProperties(props)
-	})
+	module := NewSourceProviderModule(hod, bindgen, false)
 
 	return module, bindgen
 }