A combined firearm receiver and rail includes a handguard rail and a receiver housing disposed within the handguard rail. The handguard rail includes one of a takedown lug clearance slot, a handguard magazine port, a handguard continuous rail, a handguard ejection port, an attachment location, ...