rust: source patches from original mozilla repo

Closes #18400.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>