Peel the eggplant and cut off the stem, then chop into 1/2" cubes.
In a medium bowl, gently toss the eggplant with salt until evenly coated, then transfer to a colander in the sink and let sit for 30 minutes to draw out moisture.
Preheat oven to 400 degrees.
Rinse eggplant in the colander and dry thoroughly with paper towels or a clean kitchen towel.
Toss the eggplant cubes with the olive oil to coat evenly, then spread the eggplant cubes out on a baking sheet lined with parchment paper.
Roast in the oven for 20 minutes, then flip the cubes and roast for an additional 10 minutes.