Put rust depfile in target_out_dir because the depfile isn't in the outputs, the gen directory doesn't get created. Prefix rlib files with lib.