if i dont cast top card of library what gets exiled the top spell or the djinn
The spell.
You exile the top card of your library.