If the damage that would be dealt by Rile is prevented, the creature still gains trample until end of turn.

Artwork
Loading artwork…
Rile
Forgotten Realms Commander · #136 · EN
Nonfoil—Foil—
Card rules
Rile deals 1 damage to target creature you control. That creature gains trample until end of turn.
Draw a card.
The enormous can still be at the mercy of the small.
Common · Illustrated by Igor Kieryluk
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If Rile targets a creature with 1 toughness, that creature won't be destroyed until after you've drawn a card. Its abilities may affect that draw or trigger on that draw if appropriate.
If the target creature is an illegal target by the time Rile resolves, the entire spell doesn't resolve. You won't draw a card.